| Index: chrome/browser/extensions/extension_host.cc
|
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
|
| index 5cccfde06432d6555e570537446d15ae719ae8af..f76807508234957db385d368ed52e47e23755e5b 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_->SetViewType(host_type);
|
| + host_contents_->set_view_type(host_type);
|
|
|
| // TODO(mpcomplete): This was lifted from PrefsTabHelper, but it might be
|
| // better to reuse all of PrefsTabHelper. We'd first have to make it not
|
| @@ -251,7 +251,7 @@ void ExtensionHost::LoadInitialURL() {
|
| return;
|
| }
|
|
|
| - host_contents_->GetController().LoadURL(
|
| + host_contents_->controller().LoadURL(
|
| initial_url_, content::Referrer(), content::PAGE_TRANSITION_LINK,
|
| std::string());
|
| }
|
|
|