Chromium Code Reviews| Index: webkit/tools/test_shell/webwidget_host_win.cc |
| =================================================================== |
| --- webkit/tools/test_shell/webwidget_host_win.cc (revision 165342) |
| +++ webkit/tools/test_shell/webwidget_host_win.cc (working copy) |
| @@ -239,7 +239,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)); |
| } |