| 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..58b7fb7d9dab8c47093f398031c6b45df4bdc7e0 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()->GetHostedAppByURL(ExtensionURLInfo(url)))) {
|
| return SiteInstance::CreateSiteInstanceForURL(profile, url);
|
| }
|
|
|
|
|