Index: chrome/browser/android/preferences/website_preference_bridge.cc |
diff --git a/chrome/browser/android/preferences/website_preference_bridge.cc b/chrome/browser/android/preferences/website_preference_bridge.cc |
index eded547858214061b7c28b94e8c20d17a302fafb..9d575d7e7f9f19ed74eaa9619da3c123befacd3b 100644 |
--- a/chrome/browser/android/preferences/website_preference_bridge.cc |
+++ b/chrome/browser/android/preferences/website_preference_bridge.cc |
@@ -74,11 +74,11 @@ static void GetOrigins(JNIEnv* env, |
const char* kHttpPortSuffix = ":80"; |
const char* kHttpsPortSuffix = ":443"; |
ScopedJavaLocalRef<jstring> jorigin; |
- if (StartsWithASCII(origin, url::kHttpsScheme, false) && |
+ if (base::StartsWithASCII(origin, url::kHttpsScheme, false) && |
EndsWith(origin, kHttpsPortSuffix, false)) { |
jorigin = ConvertUTF8ToJavaString( |
env, origin.substr(0, origin.size() - strlen(kHttpsPortSuffix))); |
- } else if (StartsWithASCII(origin, url::kHttpScheme, false) && |
+ } else if (base::StartsWithASCII(origin, url::kHttpScheme, false) && |
EndsWith(origin, kHttpPortSuffix, false)) { |
jorigin = ConvertUTF8ToJavaString( |
env, origin.substr(0, origin.size() - strlen(kHttpPortSuffix))); |