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

Unified Diff: cc/tiled_layer_unittest.cc

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
Index: cc/tiled_layer_unittest.cc
diff --git a/cc/tiled_layer_unittest.cc b/cc/tiled_layer_unittest.cc
index e0942f2d3c0c21c30cdaf1c895ad76465aec7076..058c35b0f639738e6b0b8b31cdad03e074ac6030 100644
--- a/cc/tiled_layer_unittest.cc
+++ b/cc/tiled_layer_unittest.cc
@@ -1427,8 +1427,8 @@ TEST_F(TiledLayerTest, dontAllocateContentsWhenTargetSurfaceCantBeAllocated)
{
updateTextures();
EXPECT_EQ(6, root->fakeLayerUpdater()->updateCount());
- EXPECT_EQ(3, child->fakeLayerUpdater()->updateCount());
- EXPECT_EQ(3, child2->fakeLayerUpdater()->updateCount());
+ EXPECT_EQ(4, child->fakeLayerUpdater()->updateCount());
danakj 2012/11/07 18:15:00 Why did this happen?
alokp 2012/11/08 22:34:07 Because now we call setCanUseLCDText during update
+ EXPECT_EQ(4, child2->fakeLayerUpdater()->updateCount());
EXPECT_FALSE(m_queue->hasMoreUpdates());
root->fakeLayerUpdater()->clearUpdateCount();

Powered by Google App Engine
This is Rietveld 408576698