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

Unified Diff: cc/LayerChromium.h

Issue 11027045: Mark layers whether they can use LCD text depending on content-opacity, draw-opacity, and draw-tran… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Renamed useLCDText to canUseLCDText Created 8 years, 2 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 | « cc/CCLayerTreeHostImplTest.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/LayerChromium.h
diff --git a/cc/LayerChromium.h b/cc/LayerChromium.h
index 2b0b20dcfbe88c20a7d8265df3e9c52e1dce963b..077969fb9b230039a3c35cf9c37241df6ae7d8b1 100644
--- a/cc/LayerChromium.h
+++ b/cc/LayerChromium.h
@@ -167,8 +167,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(CCLayerTreeHost*);
@@ -349,7 +349,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 | « cc/CCLayerTreeHostImplTest.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698