diff options
Diffstat (limited to 'webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc')
-rw-r--r-- | webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc index 7e2f584..dc34edb 100644 --- a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc +++ b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc @@ -111,9 +111,9 @@ void WebPluginDelegateImpl::Paint(WebKit::WebCanvas* canvas, const gfx::Rect& rect) { if (!windowless_) return; - skia::ScopedPlatformPaint scoped_platform_paint(canvas); - cairo_t* context = scoped_platform_paint.GetPlatformSurface(); + cairo_t* context = skia::BeginPlatformPaint(canvas); WindowlessPaint(context, rect); + skia::EndPlatformPaint(canvas); } void WebPluginDelegateImpl::InstallMissingPlugin() { |