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

Unified Diff: blimp/client/core/blimp_client_context_impl_unittest.cc

Issue 2297933002: blimp: Set up the CompositorDependencies for blimp in Chrome. (Closed)
Patch Set: Created 4 years, 4 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/core/blimp_client_context_impl_unittest.cc
diff --git a/blimp/client/core/blimp_client_context_impl_unittest.cc b/blimp/client/core/blimp_client_context_impl_unittest.cc
index 59f9490b035578c2db5ad86d49c9a51ca11a333f..c69b63ff8940facb856e68bbbb2ce01a006c0fff 100644
--- a/blimp/client/core/blimp_client_context_impl_unittest.cc
+++ b/blimp/client/core/blimp_client_context_impl_unittest.cc
@@ -12,6 +12,7 @@
#include "blimp/client/core/contents/tab_control_feature.h"
#include "blimp/client/public/blimp_client_context_delegate.h"
#include "blimp/client/public/contents/blimp_contents.h"
+#include "blimp/client/support/compositor/compositor_dependencies_impl.h"
#include "blimp/client/test/test_blimp_client_context_delegate.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -47,8 +48,9 @@ class BlimpClientContextImplTest : public testing::Test {
TEST_F(BlimpClientContextImplTest,
CreatedBlimpContentsGetsHelpersAttachedAndHasTabControlFeature) {
- BlimpClientContextImpl blimp_client_context(io_thread_.task_runner(),
- io_thread_.task_runner());
+ BlimpClientContextImpl blimp_client_context(
+ io_thread_.task_runner(), io_thread_.task_runner(),
+ base::MakeUnique<CompositorDependenciesImpl>());
David Trainor- moved to gerrit 2016/08/31 00:28:58 I moved MockCompositorDependencies out to blimp/cl
Khushal 2016/08/31 21:22:50 Rebase took care of it.
TestBlimpClientContextDelegate delegate;
blimp_client_context.SetDelegate(&delegate);

Powered by Google App Engine
This is Rietveld 408576698