Index: chrome/test/webdriver/commands/title_command.cc |
diff --git a/chrome/test/webdriver/commands/title_command.cc b/chrome/test/webdriver/commands/title_command.cc |
index 4898d5f932dd47843d0c14171a58e606590b0677..42765f3c19ec0632767b5ce28600c75221078e02 100644 |
--- a/chrome/test/webdriver/commands/title_command.cc |
+++ b/chrome/test/webdriver/commands/title_command.cc |
@@ -29,7 +29,7 @@ void TitleCommand::ExecuteGet(Response* const response) { |
response->SetError(error); |
return; |
} |
- response->SetValue(new StringValue(title)); |
+ response->SetValue(base::StringValue::New(title)); |
} |
} // namespace webdriver |