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

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 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/snapshot/snapshot_aura_unittest.cc ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/examples_main.cc
diff --git a/ui/views/examples/examples_main.cc b/ui/views/examples/examples_main.cc
index 78f1656ccc8427fd3ad756208006e516d642b3f2..807e92b4ff773f6998d69411182ff26f280c2301 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;
« no previous file with comments | « ui/snapshot/snapshot_aura_unittest.cc ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698