diff options
Diffstat (limited to 'chrome/browser/extensions/extension_host.cc')
-rw-r--r-- | chrome/browser/extensions/extension_host.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc index cf1e2e5..b007ce2 100644 --- a/chrome/browser/extensions/extension_host.cc +++ b/chrome/browser/extensions/extension_host.cc @@ -133,7 +133,7 @@ ExtensionHost::ExtensionHost(const Extension* extension, profile_, site_instance, MSG_ROUTING_NONE, NULL, NULL)); TabContentsObserver::Observe(host_contents_.get()); host_contents_->SetDelegate(this); - host_contents_->set_view_type(host_type); + host_contents_->SetViewType(host_type); prefs_tab_helper_.reset(new PrefsTabHelper(host_contents())); @@ -247,7 +247,7 @@ void ExtensionHost::LoadInitialURL() { return; } - host_contents_->controller().LoadURL( + host_contents_->GetController().LoadURL( initial_url_, content::Referrer(), content::PAGE_TRANSITION_LINK, std::string()); } |