Index: chrome/browser/extensions/extension_host.cc |
=================================================================== |
--- chrome/browser/extensions/extension_host.cc (revision 138369) |
+++ chrome/browser/extensions/extension_host.cc (working copy) |
@@ -127,7 +127,7 @@ |
ExtensionHost::ExtensionHost(const extensions::Extension* extension, |
SiteInstance* site_instance, |
const GURL& url, |
- content::ViewType host_type) |
+ chrome::ViewType host_type) |
: extension_(extension), |
extension_id_(extension->id()), |
profile_(Profile::FromBrowserContext( |
@@ -144,7 +144,7 @@ |
profile_, site_instance, MSG_ROUTING_NONE, NULL, NULL)); |
content::WebContentsObserver::Observe(host_contents_.get()); |
host_contents_->SetDelegate(this); |
- host_contents_->SetViewType(host_type); |
+ chrome::SetViewType(host_contents_.get(), host_type); |
prefs_tab_helper_.reset(new PrefsTabHelper(host_contents())); |