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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 8360018: Revert 106606 - Use WebKit compositor in ui::Layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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 | « build/common.gypi ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 106614)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -1365,25 +1365,6 @@
// just changed it to include experiments.
child_process_logging::SetCommandLine(CommandLine::ForCurrentProcess());
- InitializeNetworkOptions(parsed_command_line());
- InitializeURLRequestThrottlerManager(browser_process_->net_log());
-
- // Initialize histogram synchronizer system. This is a singleton and is used
- // for posting tasks via NewRunnableMethod. Its deleted when it goes out of
- // scope. Even though NewRunnableMethod does AddRef and Release, the object
- // will not be deleted after the Task is executed.
- histogram_synchronizer_ = new HistogramSynchronizer();
-
- // Now the command line has been mutated based on about:flags, we can
- // set up metrics and initialize field trials.
- MetricsService* metrics =
- SetupMetricsAndFieldTrials(parsed_command_line(), local_state);
-
-#if defined(USE_WEBKIT_COMPOSITOR)
- // We need to ensure WebKit has been initialized before we start the WebKit
- // compositor. This is done by the ResourceDispatcherHost on creation.
- g_browser_process->resource_dispatcher_host();
-#endif
#if defined(USE_AURA)
// Shell takes ownership of ChromeShellDelegate.
aura_shell::Shell::GetInstance()->SetDelegate(new ChromeShellDelegate);
@@ -1412,6 +1393,20 @@
}
#endif
+ InitializeNetworkOptions(parsed_command_line());
+ InitializeURLRequestThrottlerManager(browser_process_->net_log());
+
+ // Initialize histogram synchronizer system. This is a singleton and is used
+ // for posting tasks via NewRunnableMethod. Its deleted when it goes out of
+ // scope. Even though NewRunnableMethod does AddRef and Release, the object
+ // will not be deleted after the Task is executed.
+ histogram_synchronizer_ = new HistogramSynchronizer();
+
+ // Now the command line has been mutated based on about:flags, we can
+ // set up metrics and initialize field trials.
+ MetricsService* metrics =
+ SetupMetricsAndFieldTrials(parsed_command_line(), local_state);
+
// Now that all preferences have been registered, set the install date
// for the uninstall metrics if this is our first run. This only actually
// gets used if the user has metrics reporting enabled at uninstall time.
« no previous file with comments | « build/common.gypi ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698