Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: chrome/browser/tab_contents/tab_util.cc

Issue 16625012: Remove ExtensionURLInfo, make security decisions in render process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f855d6a304759cb7b51c5e893e34f500b1a17975..2e2a6caa5a85b99be5a12ae68f7d876b8b03ee18 100644
--- a/chrome/browser/tab_contents/tab_util.cc
+++ b/chrome/browser/tab_contents/tab_util.cc
@@ -38,7 +38,7 @@ SiteInstance* GetSiteInstanceForNewTab(Profile* profile,
if (ChromeWebUIControllerFactory::GetInstance()->UseWebUIForURL(
profile, url) ||
(service &&
- service->extensions()->GetHostedAppByURL(ExtensionURLInfo(url)))) {
+ service->extensions()->GetHostedAppByURL(url))) {
return SiteInstance::CreateForURL(profile, url);
}

Powered by Google App Engine
This is Rietveld 408576698