| Index: chrome/browser/extensions/extension_util.cc
|
| diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
|
| index 3104575732214f49a58525b070756eb50f46821a..0643b5392facb58e40c10f30326a1a319fc6eb86 100644
|
| --- a/chrome/browser/extensions/extension_util.cc
|
| +++ b/chrome/browser/extensions/extension_util.cc
|
| @@ -32,8 +32,6 @@ bool IsIncognitoEnabled(const std::string& extension_id,
|
| // work in incognito mode.
|
| if (extension->location() == Manifest::COMPONENT)
|
| return true;
|
| - if (extension->force_incognito_enabled())
|
| - return true;
|
| }
|
|
|
| return ExtensionPrefs::Get(context)->IsIncognitoEnabled(extension_id);
|
|
|