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

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

Issue 2297933002: blimp: Set up the CompositorDependencies for blimp in Chrome. (Closed)
Patch Set: change to a Gpu Channel callback 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..04b8bf9c1bfdbf62cd3de4169cae4b13ed980f24 100644
--- a/blimp/client/support/compositor/mock_compositor_dependencies.cc
+++ b/blimp/client/support/compositor/mock_compositor_dependencies.cc
@@ -9,11 +9,11 @@
namespace blimp {
namespace client {
-void MockCompositorDependencies::GetContextProvider(
+void MockCompositorDependencies::GetContextProviders(
const ContextProviderCallback& callback) {
- scoped_refptr<cc::ContextProvider> provider =
- make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr));
- callback.Run(provider);
+ callback.Run(
+ make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr)),
+ make_scoped_refptr(new cc::TestInProcessContextProvider(nullptr)));
}
} // namespace client

Powered by Google App Engine
This is Rietveld 408576698