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

Unified Diff: chrome/test/chromedriver/chromedriver.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
Index: chrome/test/chromedriver/chromedriver.cc
diff --git a/chrome/test/chromedriver/chromedriver.cc b/chrome/test/chromedriver/chromedriver.cc
index 40e48fc267bfb87de2d1c6d79abebbaea1081098..8f7ddce0de50359adeea09e0370bb99f9ad4ebfa 100644
--- a/chrome/test/chromedriver/chromedriver.cc
+++ b/chrome/test/chromedriver/chromedriver.cc
@@ -36,7 +36,7 @@ void SetError(const std::string& error_msg,
std::string* response) {
base::DictionaryValue value;
value.SetString("message", error_msg);
- SetResponse(kUnknownError, &value, "", response);
+ SetResponse(kUnknownError, &value, std::string(), response);
}
} // namespace
@@ -120,6 +120,6 @@ void Shutdown() {
scoped_ptr<base::Value> value;
std::string session_id;
g_command_executor->ExecuteCommand(
- "quitAll", params, "", &status_code, &value, &session_id);
+ "quitAll", params, std::string(), &status_code, &value, &session_id);
delete g_command_executor;
}
« no previous file with comments | « chrome/test/chromedriver/chrome/web_view_impl_unittest.cc ('k') | chrome/test/chromedriver/chromedriver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698