Index: content/plugin/webplugin_proxy.cc |
=================================================================== |
--- content/plugin/webplugin_proxy.cc (revision 81254) |
+++ content/plugin/webplugin_proxy.cc (working copy) |
@@ -350,7 +350,10 @@ |
CGContextClearRect(windowless_context_, rect.ToCGRect()); |
} |
CGContextClipToRect(windowless_context_, rect.ToCGRect()); |
- delegate_->Paint(windowless_context_, rect); |
+ // FIXME: This is a temporary workaround to allow the Darwin / Skia port to |
+ // share code with the Darwin / CG port. All ports will eventually use the |
+ // common code below. |
+ delegate_->CGPaint(windowless_context_, rect); |
if (windowless_context_.get() == saved_context_weak) |
CGContextRestoreGState(windowless_context_); |
#else |