Index: chrome/browser/gpu/gl_string_manager.cc |
diff --git a/chrome/browser/gpu/gl_string_manager.cc b/chrome/browser/gpu/gl_string_manager.cc |
index 7cc8bc6698438c3ee177c7d112fac53da745068a..a9216f5f97286e1eaaf3fc3571db932a368014fd 100644 |
--- a/chrome/browser/gpu/gl_string_manager.cc |
+++ b/chrome/browser/gpu/gl_string_manager.cc |
@@ -21,10 +21,11 @@ void GLStringManager::Initialize() { |
// We never remove this observer from GpuDataManager. |
content::GpuDataManager::GetInstance()->AddObserver(this); |
- PrefService* local_state = g_browser_process->local_state(); |
+ PrefServiceSimple* local_state = g_browser_process->local_state(); |
if (!local_state) |
return; |
+ // TODO(joi): This should happen via browser_prefs::RegisterLocalState(). |
local_state->RegisterStringPref(prefs::kGLVendorString, gl_vendor_); |
local_state->RegisterStringPref(prefs::kGLRendererString, gl_renderer_); |
local_state->RegisterStringPref(prefs::kGLVersionString, gl_version_); |