Index: webkit/plugins/sad_plugin.cc |
=================================================================== |
--- webkit/plugins/sad_plugin.cc (revision 80026) |
+++ webkit/plugins/sad_plugin.cc (working copy) |
@@ -38,9 +38,9 @@ |
// then copy that to the screen than to use the native APIs. The small speed |
// penalty is not important when drawing crashed plugins. |
#if WEBKIT_USING_SKIA |
- gfx::NativeDrawingContext context = webcanvas->beginPlatformPaint(); |
+ gfx::NativeDrawingContext context = skia::BeginPlatformPaint(webcanvas); |
BlitCanvasToContext(context, plugin_rect, &canvas, gfx::Point(0, 0)); |
- webcanvas->endPlatformPaint(); |
+ skia::EndPlatformPaint(webcanvas); |
#elif WEBKIT_USING_CG |
BlitCanvasToContext(webcanvas, plugin_rect, &canvas, gfx::Point(0, 0)); |
#endif |