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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 12593005: Add a user pref in Settings to disable all GPU features. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
Index: chrome/browser/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 186737)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -1330,6 +1330,9 @@
if (g_browser_process->gl_string_manager())
g_browser_process->gl_string_manager()->Initialize();
+ // Create an instance of GpuModeManager to watch gpu mode pref change.
+ g_browser_process->gpu_mode_manager();
+
#if !defined(OS_ANDROID)
// Show the First Run UI if this is the first time Chrome has been run on
// this computer, or we're being compelled to do so by a command line flag.

Powered by Google App Engine
This is Rietveld 408576698