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

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 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/aura/demo/demo_main.cc
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc
index fe6ea80003c1276a136dcf6fc75fa51455d4d435..7fda8c3b56c88539d55ecaafe47eb1db11ec282e 100644
--- a/ui/aura/demo/demo_main.cc
+++ b/ui/aura/demo/demo_main.cc
@@ -117,8 +117,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.

Powered by Google App Engine
This is Rietveld 408576698