| 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 8811ac042ad2817201287734fe9b79df89e11768..6f0d4aa15209a6ce1a306891e0c87fd672f963c0 100644
|
| --- a/content/test/web_layer_tree_view_impl_for_testing.h
|
| +++ b/content/test/web_layer_tree_view_impl_for_testing.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "cc/trees/layer_tree_host_client.h"
|
| +#include "cc/trees/layer_tree_host_single_thread_client.h"
|
| #include "third_party/WebKit/public/platform/WebLayerTreeView.h"
|
|
|
| namespace cc {
|
| @@ -17,8 +18,10 @@ namespace WebKit { class WebLayer; }
|
|
|
| namespace webkit {
|
|
|
| -class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView,
|
| - public cc::LayerTreeHostClient {
|
| +class WebLayerTreeViewImplForTesting
|
| + : public WebKit::WebLayerTreeView,
|
| + public cc::LayerTreeHostClient,
|
| + public cc::LayerTreeHostSingleThreadClient {
|
| public:
|
| WebLayerTreeViewImplForTesting();
|
| virtual ~WebLayerTreeViewImplForTesting();
|
| @@ -70,10 +73,14 @@ class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView,
|
| virtual void DidCommit() OVERRIDE {}
|
| virtual void DidCommitAndDrawFrame() OVERRIDE {}
|
| virtual void DidCompleteSwapBuffers() OVERRIDE {}
|
| - virtual void ScheduleComposite() OVERRIDE;
|
| virtual scoped_refptr<cc::ContextProvider>
|
| OffscreenContextProvider() OVERRIDE;
|
|
|
| + // cc::LayerTreeHostSingleThreadClient implementation.
|
| + virtual void ScheduleComposite() OVERRIDE {}
|
| + virtual void DidPostSwapBuffers() OVERRIDE {}
|
| + virtual void DidAbortSwapBuffers() OVERRIDE {}
|
| +
|
| private:
|
| scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
|
|
|
|
|