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

Unified Diff: chrome/browser/media/media_stream_capture_indicator.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/media/media_stream_capture_indicator.cc
diff --git a/chrome/browser/media/media_stream_capture_indicator.cc b/chrome/browser/media/media_stream_capture_indicator.cc
index ebb6ab4b6fb5d5d01e275df618881f328a9e657a..f5f0761a27d95b69847675b8f7cc442efdd3c505 100644
--- a/chrome/browser/media/media_stream_capture_indicator.cc
+++ b/chrome/browser/media/media_stream_capture_indicator.cc
@@ -57,7 +57,7 @@ const extensions::Extension* GetExtension(WebContents* web_contents) {
return NULL;
return extension_service->extensions()->GetExtensionOrAppByURL(
- ExtensionURLInfo(web_contents->GetURL()));
+ web_contents->GetURL());
}
// Gets the security originator of the tab. It returns a string with no '/'

Powered by Google App Engine
This is Rietveld 408576698