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