Index: ui/gl/gl_version_info.cc |
diff --git a/ui/gl/gl_version_info.cc b/ui/gl/gl_version_info.cc |
index c3cec4dc1d6f78c918f84a45c17ce79cb0911eeb..cc960b0a3a8fc0adb764f2a5457b46cfe9eb1352 100644 |
--- a/ui/gl/gl_version_info.cc |
+++ b/ui/gl/gl_version_info.cc |
@@ -67,7 +67,7 @@ void GLVersionInfo::ParseVersionString(const char* version_str, |
*is_es3 = false; |
if (!version_str) |
return; |
- std::string lstr(base::StringToLowerASCII(std::string(version_str))); |
+ std::string lstr(base::ToLowerASCII(version_str)); |
*is_es = (lstr.length() > 12) && (lstr.substr(0, 9) == "opengl es"); |
if (*is_es) |
lstr = lstr.substr(10, 3); |