| Index: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
|
| index 86f1b6094dafd47a11a1b1ff635dd90d8849ad3b..ce196ddb0286c87b8e9e066c87feb010668d0787 100644
|
| --- a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp
|
| @@ -9,7 +9,8 @@
|
| #include "cc/animation/animation_timeline.h"
|
| #include "cc/blink/web_layer_impl.h"
|
| #include "cc/layers/layer.h"
|
| -#include "cc/trees/layer_tree_host.h"
|
| +#include "cc/trees/layer_tree_host_in_process.h"
|
| +#include "cc/trees/layer_tree_settings.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebLayer.h"
|
| #include "public/platform/WebLayerTreeView.h"
|
| @@ -24,13 +25,13 @@ WebLayerTreeViewImplForTesting::WebLayerTreeViewImplForTesting()
|
|
|
| WebLayerTreeViewImplForTesting::WebLayerTreeViewImplForTesting(const cc::LayerTreeSettings& settings)
|
| {
|
| - cc::LayerTreeHost::InitParams params;
|
| + cc::LayerTreeHostInProcess::InitParams params;
|
| params.client = this;
|
| params.settings = &settings;
|
| params.main_task_runner = base::ThreadTaskRunnerHandle::Get();
|
| params.task_graph_runner = &m_taskGraphRunner;
|
| params.animation_host = cc::AnimationHost::CreateForTesting(cc::ThreadInstance::MAIN);
|
| - m_layerTreeHost = cc::LayerTreeHost::CreateSingleThreaded(this, ¶ms);
|
| + m_layerTreeHost = cc::LayerTreeHostInProcess::CreateSingleThreaded(this, ¶ms);
|
| ASSERT(m_layerTreeHost);
|
| }
|
|
|
|
|