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

Unified Diff: content/renderer/webplugin_delegate_proxy.h

Issue 11361170: Get windowless plugins working when accelerated compositing is turned on. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/renderer/webplugin_delegate_proxy.h
===================================================================
--- content/renderer/webplugin_delegate_proxy.h (revision 166499)
+++ content/renderer/webplugin_delegate_proxy.h (working copy)
@@ -207,10 +207,9 @@
// Draw a graphic indicating a crashed plugin.
void PaintSadPlugin(WebKit::WebCanvas* canvas, const gfx::Rect& rect);
- // Returns true if the given rectangle is different in the native drawing
- // context and the current background bitmap.
- bool BackgroundChanged(gfx::NativeDrawingContext context,
- const gfx::Rect& rect);
+ // Returns true if the given rectangle is different in the canvas and the
+ // current background bitmap.
+ bool BackgroundChanged(SkCanvas* canvas, const gfx::Rect& rect);
// Copies the given rectangle from the back-buffer transport_stores_ bitmap to
// the front-buffer transport_stores_ bitmap.

Powered by Google App Engine
This is Rietveld 408576698