Index: blimp/client/support/compositor/mock_compositor_dependencies.cc |
diff --git a/blimp/client/support/compositor/mock_compositor_dependencies.cc b/blimp/client/support/compositor/mock_compositor_dependencies.cc |
index 85e7efa8bc48f89c89116fcc256ee7d820e111e4..3531a0c270bfd83901f3754dc81bd3b87c6ad61b 100644 |
--- a/blimp/client/support/compositor/mock_compositor_dependencies.cc |
+++ b/blimp/client/support/compositor/mock_compositor_dependencies.cc |
@@ -9,11 +9,14 @@ |
namespace blimp { |
namespace client { |
-void MockCompositorDependencies::GetContextProvider( |
+void MockCompositorDependencies::GetContextProviders( |
const ContextProviderCallback& callback) { |
- scoped_refptr<cc::ContextProvider> provider = |
+ ContextProviders context_providers; |
+ context_providers.compositor_context_provider = |
make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr)); |
- callback.Run(provider); |
+ context_providers.worker_context_provider = |
+ make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr)); |
+ callback.Run(context_providers); |
} |
} // namespace client |