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

Unified Diff: ui/views/examples/examples_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/compositor/test/context_factories_for_test.cc ('k') | no next file » | 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 f244b07c905e0bc81e3f26acb60838924992825e..4dc9fbec15391319ac8850b345fb94f73aab5f35 100644
--- a/ui/views/examples/examples_main.cc
+++ b/ui/views/examples/examples_main.cc
@@ -53,7 +53,6 @@ int main(int argc, char** argv) {
// The ContextFactory must exist before any Compositors are created.
scoped_ptr<ui::InProcessContextFactory> context_factory(
new ui::InProcessContextFactory());
- ui::ContextFactory::SetInstance(context_factory.get());
base::MessageLoopForUI message_loop;
« no previous file with comments | « ui/compositor/test/context_factories_for_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698