Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Unified Diff: content/plugin/webplugin_proxy.cc

Issue 6823081: Add Skia to CG adapter for plugins. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/plugin/webplugin_proxy.cc
===================================================================
--- content/plugin/webplugin_proxy.cc (revision 85477)
+++ 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
brettw 2011/05/18 20:15:46 This should be: TODO(caryclark): This is a...
_cary 2011/05/19 12:28:38 Done.
+ // 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
« no previous file with comments | « no previous file | webkit/plugins/npapi/webplugin_delegate_impl.h » ('j') | webkit/plugins/npapi/webplugin_delegate_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698