summaryrefslogtreecommitdiff
path: root/chromeos-dbus-bindings/header_generator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos-dbus-bindings/header_generator.cc')
-rw-r--r--chromeos-dbus-bindings/header_generator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromeos-dbus-bindings/header_generator.cc b/chromeos-dbus-bindings/header_generator.cc
index d69cd1c..6989ffa 100644
--- a/chromeos-dbus-bindings/header_generator.cc
+++ b/chromeos-dbus-bindings/header_generator.cc
@@ -25,9 +25,9 @@ string HeaderGenerator::GenerateHeaderGuard(
string guard = base::StringPrintf("____chromeos_dbus_binding__%s",
output_file.value().c_str());
for (auto& c : guard) {
- if (IsAsciiAlpha(c)) {
+ if (base::IsAsciiAlpha(c)) {
c = base::ToUpperASCII(c);
- } else if (!IsAsciiDigit(c)) {
+ } else if (!base::IsAsciiDigit(c)) {
c = '_';
}
}