Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/HomepageEditor.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/HomepageEditor.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/HomepageEditor.java |
index 730e0060a35cd9a9ab6322a6bc907e2fe43d3d2e..e3766702657ad03c5b715906698726319535bfa1 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/HomepageEditor.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/HomepageEditor.java |
@@ -17,8 +17,8 @@ import android.widget.EditText; |
import org.chromium.chrome.R; |
import org.chromium.chrome.browser.partnercustomizations.HomepageManager; |
import org.chromium.chrome.browser.partnercustomizations.PartnerBrowserCustomizations; |
-import org.chromium.chrome.browser.util.UrlUtilities; |
import org.chromium.chrome.browser.widget.FloatLabelLayout; |
+import org.chromium.components.url_formatter.UrlFormatter; |
/** |
* Provides the Java-UI for editing the homepage preference. |
@@ -82,8 +82,8 @@ public class HomepageEditor extends Fragment implements TextWatcher { |
mSaveButton.setOnClickListener(new View.OnClickListener() { |
@Override |
public void onClick(View v) { |
- mHomepageManager.setPrefHomepageCustomUri(UrlUtilities.fixupUrl( |
- mHomepageUrlEdit.getText().toString())); |
+ mHomepageManager.setPrefHomepageCustomUri( |
+ UrlFormatter.fixupUrl(mHomepageUrlEdit.getText().toString())); |
mHomepageManager.setPrefHomepageUseDefaultUri(false); |
getActivity().finish(); |
} |
@@ -97,4 +97,4 @@ public class HomepageEditor extends Fragment implements TextWatcher { |
} |
}); |
} |
-} |
+} |