Index: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java |
index f8a0a0ef10410cd0d1d5f97b3f7450f428ea967b..78080445f564bc66e827ff08f2834c9c6332331b 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java |
@@ -25,8 +25,8 @@ import org.chromium.chrome.browser.payments.ui.PaymentRequestUI; |
import org.chromium.chrome.browser.payments.ui.SectionInformation; |
import org.chromium.chrome.browser.payments.ui.ShoppingCart; |
import org.chromium.chrome.browser.profiles.Profile; |
-import org.chromium.chrome.browser.util.UrlUtilities; |
import org.chromium.components.safejson.JsonSanitizer; |
+import org.chromium.components.url_formatter.UrlFormatter; |
import org.chromium.content_public.browser.WebContents; |
import org.chromium.mojo.system.MojoException; |
import org.chromium.mojom.payments.PaymentComplete; |
@@ -182,7 +182,7 @@ public class PaymentRequestImpl implements PaymentRequest, PaymentRequestUI.Clie |
mDismissObserver = dismissObserver; |
mMerchantName = webContents.getTitle(); |
// The feature is available only in secure context, so it's OK to not show HTTPS. |
- mOrigin = UrlUtilities.formatUrlForSecurityDisplay(webContents.getVisibleUrl(), false); |
+ mOrigin = UrlFormatter.formatUrlForSecurityDisplay(webContents.getVisibleUrl(), false); |
final FaviconHelper faviconHelper = new FaviconHelper(); |
faviconHelper.getLocalFaviconImageForURL(Profile.getLastUsedProfile(), |