summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:55:43 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:55:43 +0000
commitbd6fc2fb1af851ac7e2f4a3e08ad3a92ab6ba4af (patch)
treedb093d44a2b6964ae5b54b140bdef71a8b7a337d /dbus
parentbec9fd9900ed7fe4ed3fe5b3d9f56ec4ba1fe56b (diff)
downloadchromium_src-bd6fc2fb1af851ac7e2f4a3e08ad3a92ab6ba4af.zip
chromium_src-bd6fc2fb1af851ac7e2f4a3e08ad3a92ab6ba4af.tar.gz
chromium_src-bd6fc2fb1af851ac7e2f4a3e08ad3a92ab6ba4af.tar.bz2
Revert 257524 "Move IsStringASCII/UTF8 to base namespace."
> Move IsStringASCII/UTF8 to base namespace. > > Use StringPiece for IsStringUTF8. > > TBR=sky > > Review URL: https://codereview.chromium.org/196793010 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/198163004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus')
-rw-r--r--dbus/message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/message.cc b/dbus/message.cc
index c9219b7..eaf3c9b 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(base::IsStringUTF8(value));
+ CHECK(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