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

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: rm confusing missing_tiles++ 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
« no previous file with comments | « cc/layers/append_quads_data.h ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..48b4d7bbda0b2cc11f29aa0c3fafd03054fdcf8e 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(0, data.num_incomplete_tiles);
}
} // namespace
« no previous file with comments | « cc/layers/append_quads_data.h ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698