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

Unified Diff: device/bluetooth/bluetooth_uuid.cc

Issue 286993002: [Bluetooth] Use base::ToLowerASCII() rather than tolower(), as the later is locale-sensitive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_uuid.cc
diff --git a/device/bluetooth/bluetooth_uuid.cc b/device/bluetooth/bluetooth_uuid.cc
index 4623576db74d9425af38760532bd2a515a18bfa2..714d1c5c3409ddffbe8357926e2c131fed1cff18 100644
--- a/device/bluetooth/bluetooth_uuid.cc
+++ b/device/bluetooth/bluetooth_uuid.cc
@@ -42,7 +42,7 @@ void GetCanonicalUuid(std::string uuid,
} else {
if (!IsHexDigit(uuid[i]))
return;
- uuid[i] = tolower(uuid[i]);
+ uuid[i] = base::ToLowerASCII(uuid[i]);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698