From b3413064f36bf166d7dffb463bc442059dab1dd7 Mon Sep 17 00:00:00 2001 From: brettw Date: Tue, 23 Jun 2015 17:39:02 -0700 Subject: Move more string_util functions to base namespace. Rename IsWhitespace to IsUnicodeWhitespace (to contrast it to the already-existing IsAsciiWhitespace). De-inline HexDigitToInt. This is only used in a few places and I don't think it's necessary to inline. Remove some redundant base:: qualifications in base. TBR=sky Review URL: https://codereview.chromium.org/1200053004 Cr-Commit-Position: refs/heads/master@{#335827} --- .../content_settings/core/common/content_settings_pattern_parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/content_settings') diff --git a/components/content_settings/core/common/content_settings_pattern_parser.cc b/components/content_settings/core/common/content_settings_pattern_parser.cc index ae7dcc3..cbdd260 100644 --- a/components/content_settings/core/common/content_settings_pattern_parser.cc +++ b/components/content_settings/core/common/content_settings_pattern_parser.cc @@ -152,7 +152,7 @@ void PatternParser::Parse(const std::string& pattern_spec, } else { // Check if the port string represents a valid port. for (size_t i = 0; i < port.size(); ++i) { - if (!IsAsciiDigit(port[i])) { + if (!base::IsAsciiDigit(port[i])) { builder->Invalid(); return; } -- cgit v1.1