Index: chrome/browser/debugger/devtools_window.cc |
=================================================================== |
--- chrome/browser/debugger/devtools_window.cc (revision 73335) |
+++ chrome/browser/debugger/devtools_window.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -221,7 +221,7 @@ |
wp_key.append("_"); |
wp_key.append(kDevToolsApp); |
- PrefService* prefs = g_browser_process->local_state(); |
+ PrefService* prefs = profile_->GetPrefs(); |
if (!prefs->FindPreference(wp_key.c_str())) { |
prefs->RegisterDictionaryPref(wp_key.c_str()); |
} |