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

Unified Diff: chrome/test/chromedriver/chrome/automation_extension.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/chromedriver/chrome/automation_extension.cc
diff --git a/chrome/test/chromedriver/chrome/automation_extension.cc b/chrome/test/chromedriver/chrome/automation_extension.cc
index 0a91cf5c7dc0c71029e0527a7e2c1a341ca6b9cf..63ad2230f705a187d652648982117d791dcafc15 100644
--- a/chrome/test/chromedriver/chrome/automation_extension.cc
+++ b/chrome/test/chromedriver/chrome/automation_extension.cc
@@ -52,8 +52,11 @@ Status AutomationExtension::GetWindowInfo(int* x,
int* height) {
base::ListValue args;
scoped_ptr<base::Value> result;
- Status status = web_view_->CallAsyncFunction(
- "", "getWindowInfo", args, base::TimeDelta::FromSeconds(10), &result);
+ Status status = web_view_->CallAsyncFunction(std::string(),
+ "getWindowInfo",
+ args,
+ base::TimeDelta::FromSeconds(10),
+ &result);
if (status.IsError())
return status;
@@ -78,6 +81,9 @@ Status AutomationExtension::UpdateWindow(
base::ListValue args;
args.Append(update_info.DeepCopy());
scoped_ptr<base::Value> result;
- return web_view_->CallAsyncFunction(
- "", "updateWindow", args, base::TimeDelta::FromSeconds(10), &result);
+ return web_view_->CallAsyncFunction(std::string(),
+ "updateWindow",
+ args,
+ base::TimeDelta::FromSeconds(10),
+ &result);
}
« no previous file with comments | « chrome/test/chromedriver/capabilities_unittest.cc ('k') | chrome/test/chromedriver/chrome/chrome_desktop_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698