diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-17 23:13:58 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-17 23:13:58 +0000 |
commit | b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5 (patch) | |
tree | 72b910f29af445511e233ed76806de0e4b8bd51a /dbus | |
parent | f90c870feb546e5e11481c8835329cf0efc8733d (diff) | |
download | chromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.zip chromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.tar.gz chromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.tar.bz2 |
Move IsStringASCII/UTF8 to base namespace.
Use StringPiece for IsStringUTF8.
TBR=sky
Review URL: https://codereview.chromium.org/196793010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/message.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/message.cc b/dbus/message.cc index eaf3c9b..c9219b7 100644 --- a/dbus/message.cc +++ b/dbus/message.cc @@ -507,7 +507,7 @@ void MessageWriter::AppendDouble(double value) { void MessageWriter::AppendString(const std::string& value) { // D-Bus Specification (0.19) says a string "must be valid UTF-8". - CHECK(IsStringUTF8(value)); + CHECK(base::IsStringUTF8(value)); const char* pointer = value.c_str(); AppendBasic(DBUS_TYPE_STRING, &pointer); // TODO(satorux): It may make sense to return an error here, as the |