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

Unified Diff: ui/compositor/layer.h

Issue 10700028: Prepare for WebContentLayerClient API change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 3e347d79e219201e6a777adc372b9aa416cf762b..c31ec8c73f8ea5b9a529943403278fda4249bd58 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -229,7 +229,11 @@ class COMPOSITOR_EXPORT Layer :
// WebContentLayerClient
virtual void paintContents(WebKit::WebCanvas*,
const WebKit::WebRect& clip,
+#if defined(WEBCONTENTLAYERCLIENT_FLOAT_OPAQUE_RECT)
+ WebKit::WebFloatRect& opaque);
+#else
WebKit::WebRect& opaque);
+#endif
WebKit::WebLayer web_layer() { return web_layer_; }
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698