| Index: webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc
|
| ===================================================================
|
| --- webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc (revision 86628)
|
| +++ webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc (working copy)
|
| @@ -111,9 +111,9 @@
|
| 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() {
|
|
|