summaryrefslogtreecommitdiffstats
path: root/chrome/test/chromedriver/window_commands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/chromedriver/window_commands.cc')
-rw-r--r--chrome/test/chromedriver/window_commands.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/test/chromedriver/window_commands.cc b/chrome/test/chromedriver/window_commands.cc
index e7b7cd1..557d572 100644
--- a/chrome/test/chromedriver/window_commands.cc
+++ b/chrome/test/chromedriver/window_commands.cc
@@ -347,8 +347,7 @@ Status ExecuteGoBack(
WebView* web_view,
const base::DictionaryValue& params,
scoped_ptr<base::Value>* value) {
- return web_view->EvaluateScript(
- std::string(), "window.history.back();", value);
+ return web_view->EvaluateScript("", "window.history.back();", value);
}
Status ExecuteGoForward(
@@ -356,8 +355,7 @@ Status ExecuteGoForward(
WebView* web_view,
const base::DictionaryValue& params,
scoped_ptr<base::Value>* value) {
- return web_view->EvaluateScript(
- std::string(), "window.history.forward();", value);
+ return web_view->EvaluateScript("", "window.history.forward();", value);
}
Status ExecuteRefresh(