Index: content/test/web_layer_tree_view_impl_for_testing.h |
diff --git a/content/test/web_layer_tree_view_impl_for_testing.h b/content/test/web_layer_tree_view_impl_for_testing.h |
index bf19cb4131bc522b9c5b639b39c65b78ac41ebcb..20e3eb2692540c18fc06242ee0719c0e0f7e9e7e 100644 |
--- a/content/test/web_layer_tree_view_impl_for_testing.h |
+++ b/content/test/web_layer_tree_view_impl_for_testing.h |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
#define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
+#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
#include "cc/trees/layer_tree_host_client.h" |
#include "cc/trees/layer_tree_host_single_thread_client.h" |
@@ -48,9 +49,10 @@ class WebLayerTreeViewImplForTesting |
bool use_anchor, |
float new_page_scale, |
double duration_sec); |
- virtual void setNeedsAnimate(); |
+ virtual void setNeedsAnimate() { setNeedsUpdateLayers(); } // Renamed. Staged for removal. |
+ virtual void setNeedsUpdateLayers(); |
virtual void setNeedsRedraw(); |
- virtual bool commitRequested() const; |
+ virtual bool commitRequested() const { NOTREACHED(); return false; } // Unused. Staged for removal. |
virtual void composite(); |
virtual void didStopFlinging(); |
virtual bool compositeAndReadback(void* pixels, const blink::WebRect& rect); |