Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappUrlBar.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappUrlBar.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappUrlBar.java |
index 48874c211845cb24c62bcd1d79972e0670b3682a..3c080a687fde4cdd4d5284088074eb63f11744ea 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappUrlBar.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappUrlBar.java |
@@ -162,7 +162,7 @@ public class WebappUrlBar extends FrameLayout implements View.OnLayoutChangeList |
boolean showScheme = mCurrentIconResource == 0; |
String displayUrl = originalUrl; |
if (uri != null) { |
- String shortenedUrl = UrlUtilities.getOriginForDisplay(uri, showScheme); |
+ String shortenedUrl = UrlUtilities.formatUrlForSecurityDisplay(uri, showScheme); |
if (!TextUtils.isEmpty(shortenedUrl)) displayUrl = shortenedUrl; |
} |