Index: extensions/browser/extension_host.cc |
diff --git a/extensions/browser/extension_host.cc b/extensions/browser/extension_host.cc |
index df7b74d754d6df61fb5ed111b2bb64b6f7140bee..81acc76cefced4b3382f96fffe2aef42d1be1891 100644 |
--- a/extensions/browser/extension_host.cc |
+++ b/extensions/browser/extension_host.cc |
@@ -68,9 +68,10 @@ ExtensionHost::ExtensionHost(const Extension* extension, |
// Not used for panels, see PanelHost. |
DCHECK(host_type == VIEW_TYPE_EXTENSION_BACKGROUND_PAGE || |
host_type == VIEW_TYPE_EXTENSION_DIALOG || |
- host_type == VIEW_TYPE_EXTENSION_POPUP); |
+ host_type == VIEW_TYPE_EXTENSION_POPUP || |
+ host_type == VIEW_TYPE_EXTENSION_SIDEBAR); |
host_contents_.reset(WebContents::Create( |
- WebContents::CreateParams(browser_context_, site_instance))), |
+ WebContents::CreateParams(browser_context_, site_instance))); |
content::WebContentsObserver::Observe(host_contents_.get()); |
host_contents_->SetDelegate(this); |
SetViewType(host_contents_.get(), host_type); |