Index: components/crash/content/app/breakpad_linux.cc |
diff --git a/components/crash/content/app/breakpad_linux.cc b/components/crash/content/app/breakpad_linux.cc |
index aab3a98a555b9220ebcaa9484d2fd21d59959463..499101c3d51c8789c13f88cebe8b70b8664ee7b7 100644 |
--- a/components/crash/content/app/breakpad_linux.cc |
+++ b/components/crash/content/app/breakpad_linux.cc |
@@ -213,7 +213,7 @@ void my_uint64tos(char* output, uint64_t i, unsigned i_len) { |
#if !defined(OS_CHROMEOS) |
bool my_isxdigit(char c) { |
brettw
2016/04/12 21:41:07
I think you can delete this and replace the only c
|
- return (c >= '0' && c <= '9') || ((c | 0x20) >= 'a' && (c | 0x20) <= 'f'); |
+ return base::IsAsciiDigit(c) || ((c | 0x20) >= 'a' && (c | 0x20) <= 'f'); |
} |
#endif |