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

Unified Diff: cc/layers/picture_image_layer_impl_unittest.cc

Issue 364063005: Histogram to track missing and incomplete tiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 6 years, 5 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_image_layer_impl_unittest.cc
diff --git a/cc/layers/picture_image_layer_impl_unittest.cc b/cc/layers/picture_image_layer_impl_unittest.cc
index c7b801a3d38379c17d2fe077a43736d4c92ce650..c4551e0103995a56bd45dc82cbc89ba0baf3eb45 100644
--- a/cc/layers/picture_image_layer_impl_unittest.cc
+++ b/cc/layers/picture_image_layer_impl_unittest.cc
@@ -157,7 +157,7 @@ TEST_F(PictureImageLayerImplTest, IgnoreIdealContentScale) {
EXPECT_EQ(DrawQuad::TILED_CONTENT, render_pass->quad_list[0]->material);
// Tiles are ready at correct scale, so should not set had_incomplete_tile.
- EXPECT_FALSE(data.had_incomplete_tile);
+ EXPECT_EQ(data.num_incomplete_tiles, 0);
danakj 2014/07/07 22:07:40 order should be: expected, actual
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698