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 1470e03fceca4498fa902227d53352b1852a2ee5..3a96c25ec72caff3901c0665cec68c10a09dace8 100644 |
--- a/content/test/web_layer_tree_view_impl_for_testing.cc |
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc |
@@ -116,12 +116,19 @@ void WebLayerTreeViewImplForTesting::startPageScaleAnimation( |
float new_page_scale, |
double duration_sec) {} |
+// Renamed. Staged for removal. |
void WebLayerTreeViewImplForTesting::setNeedsAnimate() { |
- layer_tree_host_->SetNeedsAnimate(); |
+ setNeedsUpdateLayers(); |
} |
+void WebLayerTreeViewImplForTesting::setNeedsUpdateLayers() { |
+ layer_tree_host_->SetNeedsUpdateLayers(); |
+} |
+ |
+// Unused. Staged for removal. |
bool WebLayerTreeViewImplForTesting::commitRequested() const { |
- return layer_tree_host_->CommitRequested(); |
+ NOTREACHED(); |
+ return false; |
} |
void WebLayerTreeViewImplForTesting::composite() { |