| Index: chrome/browser/extensions/extension_protocols.cc
|
| diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
|
| index 16df524853a9c882c6203fde2af990ae461889f3..4489ef1be09c2d2fe31d13ebc163b25b27e84149 100644
|
| --- a/chrome/browser/extensions/extension_protocols.cc
|
| +++ b/chrome/browser/extensions/extension_protocols.cc
|
| @@ -86,7 +86,7 @@ bool AllowExtensionResourceLoad(net::URLRequest* request,
|
| // Don't allow toplevel navigations to extension resources in incognito mode.
|
| // This is because an extension must run in a single process, and an
|
| // incognito tab prevents that.
|
| - if (context->is_off_the_record() &&
|
| + if (context->is_incognito() &&
|
| info->resource_type() == ResourceType::MAIN_FRAME &&
|
| !context->extension_info_map()->
|
| ExtensionCanLoadInIncognito(request->url().host())) {
|
|
|