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

Unified Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 1131633003: cc: Use multiple PrepareTiles approaches Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/trees/layer_tree_host_impl_unittest.cc
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
index cc239da773142f736fc473b1ea41ef43fec1eb96..bc17192d8182afe2a5344d794c84ccfed32c9857 100644
--- a/cc/trees/layer_tree_host_impl_unittest.cc
+++ b/cc/trees/layer_tree_host_impl_unittest.cc
@@ -142,7 +142,7 @@ class LayerTreeHostImplTest : public testing::Test,
did_request_redraw_ = true;
}
void SetNeedsAnimateOnImplThread() override { did_request_animate_ = true; }
- void SetNeedsPrepareTilesOnImplThread() override {
+ void SetNeedsPrepareTilesOnImplThread(bool for_commit) override {
did_request_prepare_tiles_ = true;
}
void SetNeedsCommitOnImplThread() override { did_request_commit_ = true; }
@@ -163,7 +163,6 @@ class LayerTreeHostImplTest : public testing::Test,
requested_animation_delay_ = delay;
}
void DidActivateSyncTree() override {}
- void DidPrepareTiles() override {}
void DidCompletePageScaleAnimationOnImplThread() override {
did_complete_page_scale_animation_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698