| Index: cc/test/fake_layer_tree_host_client.cc
|
| diff --git a/cc/test/fake_layer_tree_host_client.cc b/cc/test/fake_layer_tree_host_client.cc
|
| index 0413b08718762f52b5a5218838e1b3801223b757..a7a95e66905a7b5a747e1cb005373014f8633f17 100644
|
| --- a/cc/test/fake_layer_tree_host_client.cc
|
| +++ b/cc/test/fake_layer_tree_host_client.cc
|
| @@ -5,6 +5,7 @@
|
| #include "cc/test/fake_layer_tree_host_client.h"
|
|
|
| #include "cc/output/context_provider.h"
|
| +#include "cc/test/fake_output_surface.h"
|
| #include "cc/test/test_web_graphics_context_3d.h"
|
|
|
| namespace cc {
|
| @@ -38,7 +39,8 @@ scoped_refptr<cc::ContextProvider> FakeLayerTreeHostClient::
|
| OffscreenContextProviderForMainThread() {
|
| if (!main_thread_contexts_.get() ||
|
| main_thread_contexts_->DestroyedOnMainThread()) {
|
| - main_thread_contexts_ = FakeContextProvider::Create();
|
| + main_thread_contexts_ = FakeContextProvider::Create(
|
| + TestWebGraphicsContext3D::CreateBaseFactory());
|
| if (!main_thread_contexts_->BindToCurrentThread())
|
| main_thread_contexts_ = NULL;
|
| }
|
| @@ -49,7 +51,8 @@ scoped_refptr<cc::ContextProvider> FakeLayerTreeHostClient::
|
| OffscreenContextProviderForCompositorThread() {
|
| if (!compositor_thread_contexts_.get() ||
|
| compositor_thread_contexts_->DestroyedOnMainThread())
|
| - compositor_thread_contexts_ = FakeContextProvider::Create();
|
| + compositor_thread_contexts_ = FakeContextProvider::Create(
|
| + TestWebGraphicsContext3D::CreateBaseFactory());
|
| return compositor_thread_contexts_;
|
| }
|
|
|
|
|