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

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: address feedback Created 7 years, 5 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 9d82f22c2ca3c5627145799babb7fe05a1e93bb8..fae1201076d8a0dbfe4a4711f408cdd4ba0375d4 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