| Index: skia/ext/vector_platform_device_emf_win.cc
|
| ===================================================================
|
| --- skia/ext/vector_platform_device_emf_win.cc (revision 123041)
|
| +++ skia/ext/vector_platform_device_emf_win.cc (working copy)
|
| @@ -16,8 +16,8 @@
|
|
|
| // static
|
| SkDevice* VectorPlatformDeviceEmf::CreateDevice(
|
| - int width, int height, bool is_opaque, HANDLE shared_section) {
|
| - if (!is_opaque) {
|
| + int width, int height, int flags, HANDLE shared_section) {
|
| + if (!flags & FLAGS_OPAQUE) {
|
| // TODO(maruel): http://crbug.com/18382 When restoring a semi-transparent
|
| // layer, i.e. merging it, we need to rasterize it because GDI doesn't
|
| // support transparency except for AlphaBlend(). Right now, a
|
| @@ -26,8 +26,7 @@
|
| // EMF-based VectorDevice and have this device registers the drawing. When
|
| // playing back the device into a bitmap, do it at the printer's dpi instead
|
| // of the layout's dpi (which is much lower).
|
| - return BitmapPlatformDevice::create(width, height, is_opaque,
|
| - shared_section);
|
| + return BitmapPlatformDevice::create(width, height, flags, shared_section);
|
| }
|
|
|
| // TODO(maruel): http://crbug.com/18383 Look if it would be worth to
|
|
|