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

Unified Diff: chrome/browser/gpu/gpu_mode_manager.cc

Issue 12494033: Provide a link to restart chrome when changing gpu settings (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/gpu/gpu_mode_manager.cc
===================================================================
--- chrome/browser/gpu/gpu_mode_manager.cc (revision 189907)
+++ chrome/browser/gpu/gpu_mode_manager.cc (working copy)
@@ -38,7 +38,8 @@
GpuModeManager::~GpuModeManager() {
}
-bool GpuModeManager::IsGpuModePrefEnabled() const {
+// static
+bool GpuModeManager::IsGpuModePrefEnabled() {
PrefService* service = g_browser_process->local_state();
DCHECK(service);
return service->GetBoolean(

Powered by Google App Engine
This is Rietveld 408576698