Chromium Code Reviews| Index: webkit/tools/test_shell/mac/webwidget_host.mm |
| =================================================================== |
| --- webkit/tools/test_shell/mac/webwidget_host.mm (revision 126450) |
| +++ webkit/tools/test_shell/mac/webwidget_host.mm (working copy) |
| @@ -175,6 +175,7 @@ |
| paint_rect_ = client_rect; |
| canvas_.reset(new skia::PlatformCanvas( |
| paint_rect_.width(), paint_rect_.height(), true)); |
| + canvas_->clear(SkColorSetARGB(0, 0, 0, 0)); |
|
vandebo (ex-Chrome)
2012/03/14 23:38:29
Is this one necessary?
Jeff Timanus
2012/03/15 19:01:28
I added a clear here because it wasn't clear to me
|
| } |
| // make sure webkit draws into our bitmap, not the window |