Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Unified Diff: blimp/client/support/compositor/mock_compositor_dependencies.cc

Issue 2297933002: blimp: Set up the CompositorDependencies for blimp in Chrome. (Closed)
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698