| Index: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
|
| index 3004f2ded899c1183eeee37f44bab18c4bc4ef37..5ff6f188bb677cceb2e904aab74dbef38a3f8199 100644
|
| --- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
|
| @@ -285,9 +285,6 @@ class DevtoolsNotificationBridge : public content::NotificationObserver {
|
| // Make Mac behavior the same with Windows and others.
|
| if (gPopup) {
|
| std::string extension_id = url.host();
|
| - if (url.SchemeIs(content::kChromeUIScheme) &&
|
| - url.host() == chrome::kChromeUIExtensionInfoHost)
|
| - extension_id = url.path().substr(1);
|
| extensions::ExtensionViewHost* host = [gPopup extensionViewHost];
|
| if (extension_id == host->extension_id()) {
|
| [gPopup close];
|
|
|