diff options
author | brettw <brettw@chromium.org> | 2015-06-23 17:39:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-24 00:39:38 +0000 |
commit | b3413064f36bf166d7dffb463bc442059dab1dd7 (patch) | |
tree | 391826aaaccf59398a8d59437482ce9dd62da48f /sql | |
parent | 737f36b52ce9137b242b8259b8f440c61e6b60ba (diff) | |
download | chromium_src-b3413064f36bf166d7dffb463bc442059dab1dd7.zip chromium_src-b3413064f36bf166d7dffb463bc442059dab1dd7.tar.gz chromium_src-b3413064f36bf166d7dffb463bc442059dab1dd7.tar.bz2 |
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}
Diffstat (limited to 'sql')
-rw-r--r-- | sql/connection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/connection.cc b/sql/connection.cc index b17457b..d1b1049 100644 --- a/sql/connection.cc +++ b/sql/connection.cc @@ -812,7 +812,7 @@ int Connection::ExecuteAndReturnErrorCode(const char* sql) { // sqlite3_exec() does this, presumably to avoid spinning the parser for // trailing whitespace. // TODO(shess): Audit to see if this can become a DCHECK. - while (IsAsciiWhitespace(*sql)) { + while (base::IsAsciiWhitespace(*sql)) { sql++; } |