Index: content/renderer/webplugin_delegate_proxy.cc |
=================================================================== |
--- content/renderer/webplugin_delegate_proxy.cc (revision 80026) |
+++ content/renderer/webplugin_delegate_proxy.cc (working copy) |
@@ -725,7 +725,7 @@ |
// We're using the native OS APIs from here on out. |
#if WEBKIT_USING_SKIA |
- gfx::NativeDrawingContext context = canvas->beginPlatformPaint(); |
+ gfx::NativeDrawingContext context = skia::BeginPlatformPaint(canvas); |
#elif WEBKIT_USING_CG |
gfx::NativeDrawingContext context = canvas; |
#endif |
@@ -763,7 +763,7 @@ |
} |
#if WEBKIT_USING_SKIA |
- canvas->endPlatformPaint(); |
+ skia::EndPlatformPaint(canvas); |
#endif |
} |