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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 13863015: Add flag for drawing layers to screen with Ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review Created 7 years, 7 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
Index: cc/layers/picture_layer_impl_unittest.cc
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
index 1fd20f1faead7641adcfcd7e80ba1d4d01b1b687..3631f9d1d021ed110b7c7f5a9533f8fd69e988eb 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -224,10 +224,8 @@ class PictureLayerImplTest : public testing::Test {
// at content scale 1.0, the playback canvas never receives content from
// neighboring tiles which indicates that the tile grid embedded in
// SkPicture is perfectly aligned with the compositor's tiles.
- // Note: There are two rects: the initial clear and the explicitly
- // recorded rect. We only care about the second one.
- EXPECT_EQ(2u, mock_canvas.rects_.size());
- EXPECT_RECT_EQ(*rect_iter, mock_canvas.rects_[1]);
+ EXPECT_EQ(1u, mock_canvas.rects_.size());
enne (OOO) 2013/05/13 19:33:10 This change is because the clear moved to RasterTo
+ EXPECT_RECT_EQ(*rect_iter, mock_canvas.rects_[0]);
rect_iter++;
}
}

Powered by Google App Engine
This is Rietveld 408576698