Index: components/plugins/renderer/mobile_youtube_plugin.cc |
diff --git a/components/plugins/renderer/mobile_youtube_plugin.cc b/components/plugins/renderer/mobile_youtube_plugin.cc |
index 9745a0a138e37371b137f3d8f14b42199e3fba15..af24a2b3dcfc3c4d546085f0aaacd0b6a872940b 100644 |
--- a/components/plugins/renderer/mobile_youtube_plugin.cc |
+++ b/components/plugins/renderer/mobile_youtube_plugin.cc |
@@ -89,8 +89,8 @@ MobileYouTubePlugin::~MobileYouTubePlugin() {} |
bool MobileYouTubePlugin::IsYouTubeURL(const GURL& url, |
const std::string& mime_type) { |
std::string host = url.host(); |
- bool is_youtube = EndsWith(host, "youtube.com", true) || |
- EndsWith(host, "youtube-nocookie.com", true); |
+ bool is_youtube = base::EndsWith(host, "youtube.com", true) || |
+ base::EndsWith(host, "youtube-nocookie.com", true); |
return is_youtube && IsValidYouTubeVideo(url.path()) && |
base::LowerCaseEqualsASCII(mime_type, |