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

Unified Diff: cc/layer.h

Issue 11360145: cc: The SolidColorLayer should report contentsOpaque() true when its color is opaque (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « no previous file | cc/solid_color_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.h
diff --git a/cc/layer.h b/cc/layer.h
index 963f17fa994fe8f3a1bc5d69de18887eb7e89059..70247f52927ac0eb29c140f30de65ffe1b83bd8a 100644
--- a/cc/layer.h
+++ b/cc/layer.h
@@ -74,7 +74,7 @@ public:
void setAnchorPointZ(float);
float anchorPointZ() const { return m_anchorPointZ; }
- void setBackgroundColor(SkColor);
+ virtual void setBackgroundColor(SkColor);
SkColor backgroundColor() const { return m_backgroundColor; }
// A layer's bounds are in logical, non-page-scaled pixels (however, the
« no previous file with comments | « no previous file | cc/solid_color_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698