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

Unified Diff: ui/aura/demo/demo_main.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/aura/bench/bench_main.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/demo/demo_main.cc
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc
index 78b39a406adf9f7072f13026f8ffbbc403fc6997..38f90f811d948705a4c575aec4d40b33b2e83c62 100644
--- a/ui/aura/demo/demo_main.cc
+++ b/ui/aura/demo/demo_main.cc
@@ -118,8 +118,9 @@ int DemoMain() {
#endif
// The ContextFactory must exist before any Compositors are created.
+ bool context_factory_for_test = false;
scoped_ptr<ui::InProcessContextFactory> context_factory(
- new ui::InProcessContextFactory());
+ new ui::InProcessContextFactory(context_factory_for_test));
context_factory->set_use_test_surface(false);
// Create the message-loop here before creating the root window.
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698