summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_web_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_web_ui.cc')
-rw-r--r--chrome/browser/extensions/extension_web_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_web_ui.cc b/chrome/browser/extensions/extension_web_ui.cc
index 6ec373d..b7a7caf 100644
--- a/chrome/browser/extensions/extension_web_ui.cc
+++ b/chrome/browser/extensions/extension_web_ui.cc
@@ -284,7 +284,7 @@ bool ExtensionWebUI::HandleChromeURLOverride(GURL* url, Profile* profile) {
// extension uses split mode.
bool incognito_override_allowed =
extension->incognito_split_mode() &&
- service->IsIncognitoEnabled(extension);
+ service->IsIncognitoEnabled(extension->id());
if (profile->IsOffTheRecord() && !incognito_override_allowed) {
++i;
continue;