Index: ui/gfx/surface/transport_dib_win.cc |
=================================================================== |
--- ui/gfx/surface/transport_dib_win.cc (revision 123041) |
+++ ui/gfx/surface/transport_dib_win.cc (working copy) |
@@ -71,7 +71,11 @@ |
DCHECK(!memory()) << "Mapped file twice in the same process."; |
scoped_ptr<skia::PlatformCanvas> canvas(new skia::PlatformCanvas); |
- if (!canvas->initialize(w, h, true, handle())) |
+ if (!canvas->initialize( |
+ w, h, |
+ skia::PlatformDevice::FLAGS_OPAQUE | |
+ skia::PlatformDevice::FLAGS_INITIALIZED, |
+ handle())) |
return NULL; |
return canvas.release(); |
} |