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 64be748b3f7de9a725a99b84ff8ebebf2eb8736d..7858fd8c8bb7eeecdf763c6a9e4882d3fd5359f5 100644 |
--- a/content/test/web_layer_tree_view_impl_for_testing.cc |
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc |
@@ -45,7 +45,8 @@ bool WebLayerTreeViewImplForTesting::Initialize() { |
// Accelerated animations are enabled for unit tests. |
settings.accelerated_animation_enabled = true; |
- layer_tree_host_ = cc::LayerTreeHost::Create(this, NULL, settings, NULL); |
+ layer_tree_host_ = |
+ cc::LayerTreeHost::CreateSingleThreaded(this, this, NULL, settings); |
if (!layer_tree_host_) |
return false; |
return true; |
@@ -162,9 +163,6 @@ WebLayerTreeViewImplForTesting::CreateOutputSurface(bool fallback) { |
new cc::OutputSurface(cc::TestContextProvider::Create())); |
} |
-void WebLayerTreeViewImplForTesting::ScheduleComposite() { |
-} |
- |
scoped_refptr<cc::ContextProvider> |
WebLayerTreeViewImplForTesting::OffscreenContextProvider() { |
// Unit tests only run in single threaded mode. |