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

Unified Diff: ui/aura/demo/demo_main.cc

Issue 306123007: Removes usage of Compositor/ContextFactory methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/test/context_factories_for_test.cc » ('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 f0f8bff496f248a8bea0a5a0e3e56fb8f528f9d7..35d2efd83ed503c364bbfbc99680243c978e9474 100644
--- a/ui/aura/demo/demo_main.cc
+++ b/ui/aura/demo/demo_main.cc
@@ -123,7 +123,6 @@ int DemoMain() {
// The ContextFactory must exist before any Compositors are created.
scoped_ptr<ui::InProcessContextFactory> context_factory(
new ui::InProcessContextFactory());
- ui::ContextFactory::SetInstance(context_factory.get());
// Create the message-loop here before creating the root window.
base::MessageLoopForUI message_loop;
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/compositor/test/context_factories_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698