Index: webkit/plugins/npapi/webplugin_delegate_impl_win.cc |
=================================================================== |
--- webkit/plugins/npapi/webplugin_delegate_impl_win.cc (revision 80714) |
+++ webkit/plugins/npapi/webplugin_delegate_impl_win.cc (working copy) |
@@ -462,12 +462,12 @@ |
} |
} |
-void WebPluginDelegateImpl::Paint(skia::PlatformCanvas* canvas, |
+void WebPluginDelegateImpl::Paint(WebKit::WebCanvas* canvas, |
const gfx::Rect& rect) { |
if (windowless_) { |
- HDC hdc = canvas->beginPlatformPaint(); |
+ HDC hdc = skia::BeginPlatformPaint(canvas); |
WindowlessPaint(hdc, rect); |
- canvas->endPlatformPaint(); |
+ skia::EndPlatformPaint(canvas); |
} |
} |