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

Unified Diff: cc/CCLayerImplTest.cpp

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/CCLayerImpl.cpp ('k') | cc/CCLayerTreeHostCommon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerImplTest.cpp
diff --git a/cc/CCLayerImplTest.cpp b/cc/CCLayerImplTest.cpp
index fc9686d9428f78a798159787c6eaff92e2b4e3a1..c2d143abb192e1c7eeb8d28ddc6516770aea5b2f 100644
--- a/cc/CCLayerImplTest.cpp
+++ b/cc/CCLayerImplTest.cpp
@@ -84,7 +84,7 @@ TEST(CCLayerImplTest, verifyLayerChangesAreTrackedProperly)
arbitraryFilters.append(WebFilterOperation::createOpacityFilter(0.5));
// These properties are internal, and should not be considered "change" when they are used.
- EXECUTE_AND_VERIFY_SUBTREE_DID_NOT_CHANGE(root->setUseLCDText(true));
+ EXECUTE_AND_VERIFY_SUBTREE_DID_NOT_CHANGE(root->setCanUseLCDText(true));
EXECUTE_AND_VERIFY_SUBTREE_DID_NOT_CHANGE(root->setDrawOpacity(arbitraryNumber));
EXECUTE_AND_VERIFY_SUBTREE_DID_NOT_CHANGE(root->setRenderTarget(0));
EXECUTE_AND_VERIFY_SUBTREE_DID_NOT_CHANGE(root->setDrawTransform(arbitraryTransform));
« no previous file with comments | « cc/CCLayerImpl.cpp ('k') | cc/CCLayerTreeHostCommon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698