Index: chrome/browser/tab_contents/tab_util.cc |
diff --git a/chrome/browser/tab_contents/tab_util.cc b/chrome/browser/tab_contents/tab_util.cc |
index 9cfa82ed5e71c4d951d5f0913776ce5d4eebb2e8..e576ec013aa042f7f659558e0f281f5d41b9c02c 100644 |
--- a/chrome/browser/tab_contents/tab_util.cc |
+++ b/chrome/browser/tab_contents/tab_util.cc |
@@ -32,7 +32,8 @@ SiteInstance* GetSiteInstanceForNewTab(TabContents* source_contents, |
// as part of creating the tab. |
ExtensionService* service = profile->GetExtensionService(); |
if (ChromeWebUIFactory::GetInstance()->UseWebUIForURL(profile, url) || |
- (service && service->GetExtensionByWebExtent(url))) { |
+ (service && |
+ service->extensions()->GetByWebExtent(ExtensionURLInfo(url)))) { |
return SiteInstance::CreateSiteInstanceForURL(profile, url); |
} |