Index: chrome/browser/extensions/api/preference/preference_helpers.cc |
diff --git a/chrome/browser/extensions/api/preference/preference_helpers.cc b/chrome/browser/extensions/api/preference/preference_helpers.cc |
index e2b3577cbe59298be11c837761513941770bfb5f..4efaae43be73b152a4388205562b9beb3c753656 100644 |
--- a/chrome/browser/extensions/api/preference/preference_helpers.cc |
+++ b/chrome/browser/extensions/api/preference/preference_helpers.cc |
@@ -62,7 +62,7 @@ const char* GetLevelOfControl( |
bool from_incognito = false; |
bool* from_incognito_ptr = incognito ? &from_incognito : NULL; |
const PrefService::Preference* pref = |
- prefs->FindPreference(browser_pref.c_str()); |
+ prefs->FindPreference(browser_pref); |
CHECK(pref); |
if (!pref->IsExtensionModifiable()) |