Index: chrome/browser/tab_contents/tab_util.cc |
=================================================================== |
--- chrome/browser/tab_contents/tab_util.cc (revision 118952) |
+++ chrome/browser/tab_contents/tab_util.cc (working copy) |
@@ -9,11 +9,12 @@ |
#include "chrome/browser/ui/webui/chrome_web_ui_factory.h" |
#include "chrome/common/chrome_switches.h" |
#include "content/browser/renderer_host/render_view_host.h" |
-#include "content/browser/site_instance.h" |
#include "content/public/browser/render_view_host_delegate.h" |
+#include "content/public/browser/site_instance.h" |
#include "content/public/browser/web_contents.h" |
#include "googleurl/src/gurl.h" |
+using content::SiteInstance; |
using content::WebContents; |
namespace tab_util { |
@@ -38,7 +39,7 @@ |
if (ChromeWebUIFactory::GetInstance()->UseWebUIForURL(profile, url) || |
(service && |
service->extensions()->GetHostedAppByURL(ExtensionURLInfo(url)))) { |
- return SiteInstance::CreateSiteInstanceForURL(profile, url); |
+ return SiteInstance::CreateForURL(profile, url); |
} |
if (!source_contents) |