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

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 Created 5 years, 11 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
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/compositor/test/draw_waiter_for_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10dba428e7a923bfea7899d214724a4ddb876302..7834a4dddcf498dedef160ff47c946a8bf6b2777 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;
}
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/compositor/test/draw_waiter_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698