mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Update to Chromium revision 85305.
- Use the angle library for GL support (issue #136). - Add a workaround for the SyncRequestProxy deadlock problem (issue #192). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@233 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
#include "printing/units.h"
|
||||
|
||||
#include "skia/ext/vector_canvas.h"
|
||||
#include "skia/ext/vector_platform_device_win.h"
|
||||
#include "skia/ext/vector_platform_device_emf_win.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
|
||||
@ -263,9 +263,9 @@ void CefBrowserImpl::UIT_PrintPage(int page_number, int total_pages,
|
||||
DCHECK_NE(saved_state, 0);
|
||||
|
||||
skia::PlatformDevice* device =
|
||||
skia::VectorPlatformDeviceFactory::CreateDevice(dest_size_x,
|
||||
dest_size_y,
|
||||
true, hDC);
|
||||
skia::VectorPlatformDeviceEmfFactory::CreateDevice(dest_size_x,
|
||||
dest_size_y,
|
||||
true, hDC);
|
||||
DCHECK(device);
|
||||
skia::VectorCanvas canvas(device);
|
||||
|
||||
|
Reference in New Issue
Block a user