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

Unified Diff: cc/tiles/tile_manager_perftest.cc

Issue 1196553009: Revert "cc: Make tiling interest rect calc based on viewport." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert extra bools. Created 5 years, 6 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/tiles/picture_layer_tiling_unittest.cc ('k') | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager_perftest.cc
diff --git a/cc/tiles/tile_manager_perftest.cc b/cc/tiles/tile_manager_perftest.cc
index d9b340d650ef7995b084923dd3c55993f3f7b0ec..c83144e3a6b17c4cf2362c4fdabe043f8c0ed0dc 100644
--- a/cc/tiles/tile_manager_perftest.cc
+++ b/cc/tiles/tile_manager_perftest.cc
@@ -84,13 +84,6 @@ class FakeTileTaskRunnerImpl : public TileTaskRunner, public TileTaskClient {
base::LazyInstance<FakeTileTaskRunnerImpl> g_fake_tile_task_runner =
LAZY_INSTANCE_INITIALIZER;
-class LayerTreeSettingsWithLargeInterestArea : public LayerTreeSettings {
- public:
- LayerTreeSettingsWithLargeInterestArea() {
- tiling_interest_area_viewport_multiplier = 10000;
- }
-};
-
class TileManagerPerfTest : public testing::Test {
public:
TileManagerPerfTest()
@@ -98,7 +91,7 @@ class TileManagerPerfTest : public testing::Test {
max_tiles_(10000),
id_(7),
proxy_(base::ThreadTaskRunnerHandle::Get()),
- host_impl_(LayerTreeSettingsWithLargeInterestArea(),
+ host_impl_(LayerTreeSettings(),
&proxy_,
&shared_bitmap_manager_,
&task_graph_runner_),
« no previous file with comments | « cc/tiles/picture_layer_tiling_unittest.cc ('k') | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698