Index: webkit/tools/test_shell/webwidget_host_gtk.cc |
=================================================================== |
--- webkit/tools/test_shell/webwidget_host_gtk.cc (revision 123041) |
+++ webkit/tools/test_shell/webwidget_host_gtk.cc (working copy) |
@@ -357,7 +357,9 @@ |
if (!canvas_.get()) { |
ResetScrollRect(); |
paint_rect_ = client_rect; |
- canvas_.reset(new skia::PlatformCanvas(width, height, true)); |
+ canvas_.reset(new skia::PlatformCanvas(width, height, |
+ skia::PlatformDevice::FLAGS_OPAQUE | |
+ skia::PlatformDevice::FLAGS_INITIALIZED)); |
if (!canvas_.get()) { |
// memory allocation failed, we can't paint. |
LOG(ERROR) << "Failed to allocate memory for " << width << "x" << height; |