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

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.cc

Issue 68893031: Unifies LayerTreeHost::SetNeedsUpdateLayers and SetNeedsAnimate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: okay let's call it SetNeedsUpdateLayers Created 7 years, 1 month 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: content/test/web_layer_tree_view_impl_for_testing.cc
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc
index 3bd6532c428fd3927c08a316e30cf126290e5ac1..8ed5b6353408005ac36732b7ea81eabdb641186b 100644
--- a/content/test/web_layer_tree_view_impl_for_testing.cc
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc
@@ -116,18 +116,14 @@ void WebLayerTreeViewImplForTesting::startPageScaleAnimation(
float new_page_scale,
double duration_sec) {}
-void WebLayerTreeViewImplForTesting::setNeedsAnimate() {
- layer_tree_host_->SetNeedsAnimate();
+void WebLayerTreeViewImplForTesting::setNeedsUpdateLayers() {
+ layer_tree_host_->SetNeedsUpdateLayers();
}
void WebLayerTreeViewImplForTesting::setNeedsRedraw() {
layer_tree_host_->SetNeedsRedraw();
}
-bool WebLayerTreeViewImplForTesting::commitRequested() const {
- return layer_tree_host_->CommitRequested();
-}
-
void WebLayerTreeViewImplForTesting::composite() {
layer_tree_host_->Composite(gfx::FrameTime::Now());
}

Powered by Google App Engine
This is Rietveld 408576698