Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Unified Diff: ui/gl/gl_version_info.cc

Issue 2022983003: Roll base to 5e00da80f6adb7082d1c0e88d3274cf87cc43bc5 and tonic to f7acabb8fa6c91124486a41194eac3cd… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/android/java/src/org/chromium/ui/gl/VSyncProvider.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_version_info.cc
diff --git a/ui/gl/gl_version_info.cc b/ui/gl/gl_version_info.cc
index 375580f2fa955818541e4a17fd23e1e37a313333..c5fba8055c953e99b27ea398dbd6dc9231641d8e 100644
--- a/ui/gl/gl_version_info.cc
+++ b/ui/gl/gl_version_info.cc
@@ -17,7 +17,7 @@ GLVersionInfo::GLVersionInfo(const char* version_str, const char* renderer_str)
minor_version(0),
is_es3(false) {
if (version_str) {
- std::string lstr(base::StringToLowerASCII(std::string(version_str)));
+ std::string lstr(base::ToLowerASCII(std::string(version_str)));
is_es = (lstr.length() > 12) && (lstr.substr(0, 9) == "opengl es");
if (is_es)
lstr = lstr.substr(10, 3);
« no previous file with comments | « ui/gl/android/java/src/org/chromium/ui/gl/VSyncProvider.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698