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

Unified Diff: ui/compositor/test/context_factories_for_test.cc

Issue 638653003: Make ui::Compositor use ui::Scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase with enable mode patch since that would probably go in before this Created 6 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: ui/compositor/test/context_factories_for_test.cc
diff --git a/ui/compositor/test/context_factories_for_test.cc b/ui/compositor/test/context_factories_for_test.cc
index f3eeeb369a39085c9ae8fb932c2e150399ca3ef8..08fd96ad1e552858a9feec6f370e020aeaebc552 100644
--- a/ui/compositor/test/context_factories_for_test.cc
+++ b/ui/compositor/test/context_factories_for_test.cc
@@ -29,7 +29,8 @@ ui::ContextFactory* InitializeContextFactoryForTests(bool enable_pixel_output) {
enable_pixel_output = true;
if (enable_pixel_output)
g_disable_null_draw = new gfx::DisableNullDrawGLBindings;
- g_implicit_factory = new InProcessContextFactory();
+ bool context_factory_for_test = true;
+ g_implicit_factory = new InProcessContextFactory(context_factory_for_test);
return g_implicit_factory;
}

Powered by Google App Engine
This is Rietveld 408576698