Chromium Code Reviews| Index: webkit/tools/test_shell/mac/webwidget_host.mm |
| =================================================================== |
| --- webkit/tools/test_shell/mac/webwidget_host.mm (revision 123041) |
| +++ webkit/tools/test_shell/mac/webwidget_host.mm (working copy) |
| @@ -174,7 +174,9 @@ |
| ResetScrollRect(); |
| paint_rect_ = client_rect; |
| canvas_.reset(new skia::PlatformCanvas( |
| - paint_rect_.width(), paint_rect_.height(), true)); |
| + paint_rect_.width(), paint_rect_.height(), |
| + skia::PlatformDevice::FLAGS_OPAQUE | |
| + skia::PlatformDevice::FLAGS_INITIALIZED)); |
|
Jeff Timanus
2012/02/23 22:14:10
This clear can be performed explicitly on mac.
|
| } |
| // make sure webkit draws into our bitmap, not the window |