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

Unified Diff: chrome/test/webdriver/webdriver_dispatch_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
Index: chrome/test/webdriver/webdriver_dispatch_unittest.cc
diff --git a/chrome/test/webdriver/webdriver_dispatch_unittest.cc b/chrome/test/webdriver/webdriver_dispatch_unittest.cc
index 855711dc76753281d988e7d98ba4417a1053e304..8e75edba8117bfc25162d935a322c51896d41e84 100644
--- a/chrome/test/webdriver/webdriver_dispatch_unittest.cc
+++ b/chrome/test/webdriver/webdriver_dispatch_unittest.cc
@@ -158,7 +158,7 @@ class ParseRequestInfoTest : public testing::Test {
virtual ~ParseRequestInfoTest() {}
virtual void TearDown() {
- SessionManager::GetInstance()->set_url_base("");
+ SessionManager::GetInstance()->set_url_base(std::string());
}
private:
@@ -178,7 +178,7 @@ TEST_F(ParseRequestInfoTest, ParseRequestWithEmptyUrlBase) {
base::DictionaryValue* parameters;
Response response;
- SessionManager::GetInstance()->set_url_base("");
+ SessionManager::GetInstance()->set_url_base(std::string());
EXPECT_TRUE(internal::ParseRequestInfo(
&request_info,
NULL, // NULL is ok because GET not POST is used
« no previous file with comments | « chrome/test/webdriver/keycode_text_conversion_gtk.cc ('k') | chrome/test/webdriver/webdriver_key_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698