Chromium Code Reviews| Index: dbus/string_util.cc |
| diff --git a/dbus/string_util.cc b/dbus/string_util.cc |
| index 0b0778603088ccfe3ee649a38c3a1505f1572bc4..f8eaa52356c887770938828effc43307b8ee94a6 100644 |
| --- a/dbus/string_util.cc |
| +++ b/dbus/string_util.cc |
| @@ -11,10 +11,10 @@ namespace dbus { |
| bool IsValidObjectPath(const std::string& value) { |
| // This implementation is based upon D-Bus Specification Version 0.19. |
| - const bool kCaseSensitive = true; |
| + const base::CompareCase kCaseSensitive = base::CompareCase::SENSITIVE; |
| // A valid object path begins with '/'. |
| - if (!base::StartsWithASCII(value, "/", kCaseSensitive)) |
| + if (!base::StartsWith(value, "/", kCaseSensitive)) |
|
jam
2015/07/16 03:28:52
seems like there's no more need for the local kCas
brettw
2015/07/16 05:09:02
Good idea, done.
|
| return false; |
| // Elements are pieces delimited by '/'. For instance, "org", "chromium", |