Index: chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java b/chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java |
index 569aa704fd55a285ecececd73e466c92940b942c..14e097719318574a4c4338dc98b1bfc7f7827999 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/pageinfo/WebsiteSettingsPopup.java |
@@ -63,6 +63,7 @@ import org.chromium.chrome.browser.tab.Tab; |
import org.chromium.chrome.browser.util.UrlUtilities; |
import org.chromium.components.location.LocationUtils; |
import org.chromium.components.security_state.ConnectionSecurityLevel; |
+import org.chromium.components.url_formatter.UrlFormatter; |
import org.chromium.content.browser.ContentViewCore; |
import org.chromium.content_public.browser.WebContents; |
import org.chromium.content_public.browser.WebContentsObserver; |
@@ -557,7 +558,7 @@ public class WebsiteSettingsPopup implements OnClickListener { |
String originToDisplay; |
try { |
URI parsedUrl = new URI(mFullUrl); |
- originToDisplay = UrlUtilities.formatUrlForSecurityDisplay(parsedUrl, false); |
+ originToDisplay = UrlFormatter.formatUrlForSecurityDisplay(parsedUrl, false); |
} catch (URISyntaxException e) { |
// The URL is invalid - just display the full URL. |
originToDisplay = mFullUrl; |