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

Unified Diff: cc/layer.h

Issue 11360093: Mark layers that can use LCD text based on layer transform and opacity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed unit tests 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/layer.cc » ('j') | cc/layer_tree_host_common.h » ('J')
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 3375b657830d0a4dbce701df656de9c2c44f2de0..4d9b07aeb0fcd01ce4ccd161ed3ff9462eb6f3c9 100644
--- a/cc/layer.h
+++ b/cc/layer.h
@@ -169,8 +169,8 @@ public:
void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_useParentBackfaceVisibility = useParentBackfaceVisibility; }
bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibility; }
- virtual void setUseLCDText(bool);
- bool useLCDText() const { return m_useLCDText; }
+ virtual void setCanUseLCDText(bool);
+ bool canUseLCDText() const { return m_canUseLCDText; }
virtual void setLayerTreeHost(LayerTreeHost*);
@@ -367,7 +367,7 @@ private:
bool m_masksToBounds;
bool m_contentsOpaque;
bool m_doubleSided;
- bool m_useLCDText;
+ bool m_canUseLCDText;
bool m_preserves3D;
bool m_useParentBackfaceVisibility;
bool m_drawCheckerboardForMissingTiles;
« no previous file with comments | « no previous file | cc/layer.cc » ('j') | cc/layer_tree_host_common.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698