| Index: chrome/browser/tab_contents/background_contents.cc
|
| diff --git a/chrome/browser/tab_contents/background_contents.cc b/chrome/browser/tab_contents/background_contents.cc
|
| index 11d0741fc34bc547f9a2a950bf6e782c96a3f139..c875d117bf41db55fabe4f5467955ebc57310970 100644
|
| --- a/chrome/browser/tab_contents/background_contents.cc
|
| +++ b/chrome/browser/tab_contents/background_contents.cc
|
| @@ -13,7 +13,6 @@
|
| #include "chrome/common/extensions/extension_constants.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "chrome/common/chrome_view_type.h"
|
| -#include "content/browser/browsing_instance.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| #include "content/browser/site_instance.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -27,7 +26,7 @@ BackgroundContents::BackgroundContents(SiteInstance* site_instance,
|
| Delegate* delegate)
|
| : delegate_(delegate) {
|
| profile_ = Profile::FromBrowserContext(
|
| - site_instance->browsing_instance()->browser_context());
|
| + site_instance->GetBrowserContext());
|
|
|
| // TODO(rafaelw): Implement correct session storage.
|
| web_contents_.reset(WebContents::Create(
|
|
|