| Index: chrome/browser/extensions/extension_pref_value_map.cc
|
| diff --git a/chrome/browser/extensions/extension_pref_value_map.cc b/chrome/browser/extensions/extension_pref_value_map.cc
|
| index 2965471826ee4f19d1599a67b19d5e1ce4cd088b..18586e06356ee9bed6180b76cfc565c0aa0262cd 100644
|
| --- a/chrome/browser/extensions/extension_pref_value_map.cc
|
| +++ b/chrome/browser/extensions/extension_pref_value_map.cc
|
| @@ -102,9 +102,10 @@ void ExtensionPrefValueMap::ClearAllIncognitoSessionOnlyPreferences() {
|
| bool ExtensionPrefValueMap::DoesExtensionControlPref(
|
| const std::string& extension_id,
|
| const std::string& pref_key,
|
| - bool incognito) const {
|
| + bool* from_incognito) const {
|
| + bool incognito = (from_incognito != NULL);
|
| ExtensionEntryMap::const_iterator winner =
|
| - GetEffectivePrefValueController(pref_key, incognito, NULL);
|
| + GetEffectivePrefValueController(pref_key, incognito, from_incognito);
|
| if (winner == entries_.end())
|
| return false;
|
| return winner->first == extension_id;
|
|
|