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

Unified Diff: ui/views/examples/examples_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/views/examples/examples_main.cc
diff --git a/ui/views/examples/examples_main.cc b/ui/views/examples/examples_main.cc
index b46f9a1496edc978006714f1b801b649a693b205..a1d5632e1096504e2d85a3fc641ac25e83d0b5c0 100644
--- a/ui/views/examples/examples_main.cc
+++ b/ui/views/examples/examples_main.cc
@@ -55,8 +55,9 @@ int main(int argc, char** argv) {
gfx::GLSurface::InitializeOneOff();
// 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);
base::MessageLoopForUI message_loop;

Powered by Google App Engine
This is Rietveld 408576698