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; |