| Index: chrome/browser/devtools/devtools_file_system_indexer.cc
|
| diff --git a/chrome/browser/devtools/devtools_file_system_indexer.cc b/chrome/browser/devtools/devtools_file_system_indexer.cc
|
| index 3eb1527f6bd087a384e91475187e4836ac649150..a493a4f1e468c1d1e0c0b60a31629fdae3149fb5 100644
|
| --- a/chrome/browser/devtools/devtools_file_system_indexer.cc
|
| +++ b/chrome/browser/devtools/devtools_file_system_indexer.cc
|
| @@ -17,6 +17,7 @@
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/stl_util.h"
|
| +#include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| @@ -92,7 +93,7 @@ TrigramChar TrigramCharForChar(char c) {
|
| char ch = static_cast<char>(i);
|
| if (ch == '\t')
|
| ch = ' ';
|
| - if (ch >= 'A' && ch <= 'Z')
|
| + if (base::IsAsciiUpper(ch))
|
| ch = ch - 'A' + 'a';
|
|
|
| bool is_binary_char = ch < 9 || (ch >= 14 && ch < 32) || ch == 127;
|
|
|