diff options
Diffstat (limited to 'chrome/test/chromedriver/session_commands.cc')
-rw-r--r-- | chrome/test/chromedriver/session_commands.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/chromedriver/session_commands.cc b/chrome/test/chromedriver/session_commands.cc index 8fdea23..4be22c4 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; |