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

Unified Diff: content/browser/compositor/reflector_impl_unittest.cc

Issue 2563783002: ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate (Closed)
Patch Set: Updated Created 4 years 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: content/browser/compositor/reflector_impl_unittest.cc
diff --git a/content/browser/compositor/reflector_impl_unittest.cc b/content/browser/compositor/reflector_impl_unittest.cc
index 3948dd526860abeafa6d00268c4f45d0058ad067..3d71afd15b5b84561e8c12bdf790bdb1245ec0ed 100644
--- a/content/browser/compositor/reflector_impl_unittest.cc
+++ b/content/browser/compositor/reflector_impl_unittest.cc
@@ -134,8 +134,9 @@ class ReflectorImplTest : public testing::Test {
begin_frame_source_.reset(new cc::DelayBasedBeginFrameSource(
base::MakeUnique<cc::DelayBasedTimeSource>(
compositor_task_runner_.get())));
- compositor_.reset(
- new ui::Compositor(context_factory, compositor_task_runner_.get()));
+ // TODO(fsamuel): Move things over to ContextFactoryPrivate.
+ compositor_.reset(new ui::Compositor(context_factory, nullptr,
+ compositor_task_runner_.get()));
compositor_->SetAcceleratedWidget(gfx::kNullAcceleratedWidget);
auto context_provider = cc::TestContextProvider::Create();

Powered by Google App Engine
This is Rietveld 408576698