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

Unified Diff: cc/resources/picture_layer_tiling_perftest.cc

Issue 603683006: cc: Remove low quality mode and cleanup tile versions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 6 years, 3 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/resources/picture_layer_tiling.h ('k') | cc/resources/picture_layer_tiling_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling_perftest.cc
diff --git a/cc/resources/picture_layer_tiling_perftest.cc b/cc/resources/picture_layer_tiling_perftest.cc
index f1b462f3f8665da33dda1bda6d10421a684ba734..78a6a086cd47deaca84085354fd937b8f0f923bd 100644
--- a/cc/resources/picture_layer_tiling_perftest.cc
+++ b/cc/resources/picture_layer_tiling_perftest.cc
@@ -228,9 +228,8 @@ class PictureLayerTilingPerfTest : public testing::Test {
tile_it != all_tiles.end();
++tile_it) {
Tile* tile = *tile_it;
- ManagedTileState::TileVersion& tile_version =
- tile->GetTileVersionForTesting(tile->GetRasterModeForTesting());
- tile_version.SetResourceForTesting(
+ ManagedTileState::DrawInfo& draw_info = tile->draw_info();
+ draw_info.SetResourceForTesting(
ScopedResource::Create(resource_provider_.get()).Pass());
}
@@ -257,9 +256,8 @@ class PictureLayerTilingPerfTest : public testing::Test {
tile_it != all_tiles.end();
++tile_it) {
Tile* tile = *tile_it;
- ManagedTileState::TileVersion& tile_version =
- tile->GetTileVersionForTesting(tile->GetRasterModeForTesting());
- tile_version.SetResourceForTesting(scoped_ptr<ScopedResource>());
+ ManagedTileState::DrawInfo& draw_info = tile->draw_info();
+ draw_info.SetResourceForTesting(scoped_ptr<ScopedResource>());
}
perf_test::PrintResult(
« no previous file with comments | « cc/resources/picture_layer_tiling.h ('k') | cc/resources/picture_layer_tiling_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698