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

Unified Diff: chrome/test/chromedriver/session_commands.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 | « chrome/test/chromedriver/session.cc ('k') | chrome/test/chromedriver/window_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/session_commands.cc
diff --git a/chrome/test/chromedriver/session_commands.cc b/chrome/test/chromedriver/session_commands.cc
index 8fdea230c7e461a523bac2e488c3c150b4c2ae88..4be22c4a4700648e7c751ab0838d828a9c5a9c84 100644
--- a/chrome/test/chromedriver/session_commands.cc
+++ b/chrome/test/chromedriver/session_commands.cc
@@ -201,7 +201,8 @@ Status ExecuteSwitchToWindow(
status = web_view->ConnectIfNecessary();
if (status.IsError())
return status;
- status = web_view->CallFunction("", kGetWindowNameScript, args, &result);
+ status = web_view->CallFunction(
+ std::string(), kGetWindowNameScript, args, &result);
if (status.IsError())
return status;
std::string window_name;
« no previous file with comments | « chrome/test/chromedriver/session.cc ('k') | chrome/test/chromedriver/window_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698