Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Unified Diff: dbus/end_to_end_async_unittest.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crypto/ec_signature_creator_unittest.cc ('k') | dbus/message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/end_to_end_async_unittest.cc
diff --git a/dbus/end_to_end_async_unittest.cc b/dbus/end_to_end_async_unittest.cc
index 0a3446ecceb734cd02a311f093b6c9303dc2ad86..6943494546fd27f309be5ad5d6f6cc013b93f464 100644
--- a/dbus/end_to_end_async_unittest.cc
+++ b/dbus/end_to_end_async_unittest.cc
@@ -185,7 +185,7 @@ class EndToEndAsyncTest : public testing::Test {
ASSERT_TRUE(reader.PopString(&response_string));
response_strings_.push_back(response_string);
} else {
- response_strings_.push_back("");
+ response_strings_.push_back(std::string());
}
message_loop_.Quit();
};
@@ -205,7 +205,7 @@ class EndToEndAsyncTest : public testing::Test {
ASSERT_NE("", error->GetErrorName());
error_names_.push_back(error->GetErrorName());
} else {
- error_names_.push_back("");
+ error_names_.push_back(std::string());
}
message_loop_.Quit();
}
« no previous file with comments | « crypto/ec_signature_creator_unittest.cc ('k') | dbus/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698