Index: chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaSessionTabHelper.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaSessionTabHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaSessionTabHelper.java |
index eb5ce0a5ee21cb4a868219063ee6f19bc910b9fe..e72e863f3e0df115d9504b310a020fe768cb8748 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaSessionTabHelper.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaSessionTabHelper.java |
@@ -68,7 +68,7 @@ public class MediaSessionTabHelper { |
} |
String origin = mTab.getUrl(); |
try { |
- origin = UrlUtilities.getOriginForDisplay(new URI(origin), true); |
+ origin = UrlUtilities.formatUrlForSecurityDisplay(new URI(origin), true); |
} catch (URISyntaxException e) { |
Log.e(TAG, "Unable to parse the origin from the URL. " |
+ "Showing the full URL instead."); |