summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/commands/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/webdriver/commands/command.cc')
-rw-r--r--chrome/test/webdriver/commands/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/webdriver/commands/command.cc b/chrome/test/webdriver/commands/command.cc
index 1471e0a..dfde908 100644
--- a/chrome/test/webdriver/commands/command.cc
+++ b/chrome/test/webdriver/commands/command.cc
@@ -32,7 +32,7 @@ bool Command::Init(Response* const response) {
void Command::Finish(Response* const response) {}
std::string Command::GetPathVariable(const size_t i) const {
- return i < path_segments_.size() ? path_segments_.at(i) : "";
+ return i < path_segments_.size() ? path_segments_.at(i) : std::string();
}
bool Command::HasParameter(const std::string& key) const {