| Index: chrome/browser/tab_contents/background_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/background_contents.cc (revision 138369)
|
| +++ chrome/browser/tab_contents/background_contents.cc (working copy)
|
| @@ -32,7 +32,8 @@
|
| // TODO(rafaelw): Implement correct session storage.
|
| web_contents_.reset(WebContents::Create(
|
| profile_, site_instance, routing_id, NULL, NULL));
|
| - web_contents_->SetViewType(chrome::VIEW_TYPE_BACKGROUND_CONTENTS);
|
| + chrome::SetViewType(
|
| + web_contents_.get(), chrome::VIEW_TYPE_BACKGROUND_CONTENTS);
|
| web_contents_->SetDelegate(this);
|
| content::WebContentsObserver::Observe(web_contents_.get());
|
|
|
|
|