diff options
Diffstat (limited to 'chrome/browser/extensions/extension_function_dispatcher.cc')
-rw-r--r-- | chrome/browser/extensions/extension_function_dispatcher.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc index 1e6bee1..640725d 100644 --- a/chrome/browser/extensions/extension_function_dispatcher.cc +++ b/chrome/browser/extensions/extension_function_dispatcher.cc @@ -321,18 +321,6 @@ Browser* ExtensionFunctionDispatcher::GetBrowser(bool include_incognito) { return delegate_->GetBrowser(include_incognito); } -ExtensionPopupHost* ExtensionFunctionDispatcher::GetPopupHost() { - ExtensionHost* extension_host = GetExtensionHost(); - if (extension_host) { - DCHECK(!GetExtensionDOMUI()) << - "Function dispatcher registered in too many environments."; - return extension_host->popup_host(); - } else { - ExtensionDOMUI* dom_ui = GetExtensionDOMUI(); - return dom_ui->popup_host(); - } -} - ExtensionHost* ExtensionFunctionDispatcher::GetExtensionHost() { return delegate_->GetExtensionHost(); } |