Index: chrome/browser/background/background_contents_service.cc |
=================================================================== |
--- chrome/browser/background/background_contents_service.cc (revision 118952) |
+++ chrome/browser/background/background_contents_service.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "base/bind.h" |
#include "base/command_line.h" |
+#include "base/message_loop.h" |
#include "base/string_util.h" |
#include "base/utf_string_conversions.h" |
#include "base/values.h" |
@@ -27,12 +28,13 @@ |
#include "chrome/common/extensions/extension.h" |
#include "chrome/common/extensions/extension_constants.h" |
#include "chrome/common/pref_names.h" |
-#include "content/browser/site_instance.h" |
#include "content/public/browser/notification_service.h" |
+#include "content/public/browser/site_instance.h" |
#include "content/public/browser/web_contents.h" |
#include "grit/generated_resources.h" |
#include "ui/base/l10n/l10n_util.h" |
+using content::SiteInstance; |
using content::WebContents; |
namespace { |
@@ -448,7 +450,7 @@ |
DVLOG(1) << "Loading background content url: " << url; |
BackgroundContents* contents = CreateBackgroundContents( |
- SiteInstance::CreateSiteInstanceForURL(profile, url), |
+ SiteInstance::CreateForURL(profile, url), |
MSG_ROUTING_NONE, |
profile, |
frame_name, |