Chromium Code Reviews| Index: webkit/tools/test_shell/webwidget_host_mac.mm |
| =================================================================== |
| --- webkit/tools/test_shell/webwidget_host_mac.mm (revision 167659) |
| +++ webkit/tools/test_shell/webwidget_host_mac.mm (working copy) |
| @@ -173,7 +173,7 @@ |
| if (!canvas_.get()) { |
| ResetScrollRect(); |
| paint_rect_ = client_rect; |
| - canvas_.reset(new skia::PlatformCanvas( |
| + canvas_.reset(skia::CreatePlatformCanvas( |
| paint_rect_.width(), paint_rect_.height(), true)); |
| } |