Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleWebsitePreferences.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleWebsitePreferences.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleWebsitePreferences.java |
index c2744080a13f9a02d0922095b858d59642c4a4a5..981c9866661702c1979dbeb95566df617fcea1c7 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleWebsitePreferences.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleWebsitePreferences.java |
@@ -25,7 +25,7 @@ import org.chromium.chrome.R; |
import org.chromium.chrome.browser.ContentSettingsType; |
import org.chromium.chrome.browser.omnibox.geo.GeolocationHeader; |
import org.chromium.chrome.browser.search_engines.TemplateUrlService; |
-import org.chromium.chrome.browser.util.UrlUtilities; |
+import org.chromium.components.url_formatter.UrlFormatter; |
import org.chromium.content_public.browser.WebContents; |
import java.net.URI; |
@@ -151,7 +151,7 @@ public class SingleWebsitePreferences extends PreferenceFragment |
// TODO(mvanouwerkerk): Define a pure getOrigin method in UrlUtilities that is the |
// equivalent of the call below, because this is perfectly fine for non-display purposes. |
String origin = |
- UrlUtilities.formatUrlForSecurityDisplay(URI.create(url), true /* showScheme */); |
+ UrlFormatter.formatUrlForSecurityDisplay(URI.create(url), true /* showScheme */); |
fragmentArgs.putString(SingleWebsitePreferences.EXTRA_ORIGIN, origin); |
return fragmentArgs; |
} |