Index: chrome/test/webdriver/commands/screenshot_command.cc |
diff --git a/chrome/test/webdriver/commands/screenshot_command.cc b/chrome/test/webdriver/commands/screenshot_command.cc |
index 352b06243c891b53c1b3acb5b51042d8c20cb9aa..6c4929b862be0b9bcee7acda2c15fe234922917b 100644 |
--- a/chrome/test/webdriver/commands/screenshot_command.cc |
+++ b/chrome/test/webdriver/commands/screenshot_command.cc |
@@ -41,7 +41,7 @@ void ScreenshotCommand::ExecuteGet(Response* const response) { |
return; |
} |
- response->SetValue(new StringValue(base64_screenshot)); |
+ response->SetValue(base::StringValue::New(base64_screenshot)); |
} |
} // namespace webdriver |