| Index: chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java
|
| index dd9e0078d8ebfea8171ea601965139bd892455e8..e33a169e7d69acee1d7d153ebfbc9b09d61c294c 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridgeTest.java
|
| @@ -18,9 +18,9 @@ import org.chromium.base.annotations.SuppressFBWarnings;
|
| import org.chromium.base.test.util.Feature;
|
| import org.chromium.chrome.browser.preferences.PrefServiceBridge;
|
| import org.chromium.chrome.browser.preferences.website.ContentSetting;
|
| -import org.chromium.chrome.browser.util.UrlUtilities;
|
| import org.chromium.chrome.browser.widget.RoundedIconGenerator;
|
| import org.chromium.chrome.test.util.browser.notifications.MockNotificationManagerProxy.NotificationEntry;
|
| +import org.chromium.components.url_formatter.UrlFormatter;
|
|
|
| import java.util.List;
|
|
|
| @@ -52,7 +52,7 @@ public class NotificationPlatformBridgeTest extends NotificationTestBase {
|
| // Validate the contents of the notification.
|
| assertEquals("MyNotification", notification.extras.getString(Notification.EXTRA_TITLE));
|
| assertEquals("Hello", notification.extras.getString(Notification.EXTRA_TEXT));
|
| - assertEquals(UrlUtilities.formatUrlForSecurityDisplay(getOrigin(), false /* showScheme */),
|
| + assertEquals(UrlFormatter.formatUrlForSecurityDisplay(getOrigin(), false /* showScheme */),
|
| notification.extras.getString(Notification.EXTRA_SUB_TEXT));
|
|
|
| // Verify that the ticker text contains the notification's title and body.
|
|
|