Index: chrome/test/chromedriver/alert_commands.cc |
diff --git a/chrome/test/chromedriver/alert_commands.cc b/chrome/test/chromedriver/alert_commands.cc |
index 199e7bc4515bf1dc1e5b2035aa1ad6458294528f..f75e440a5109d21fa5a27165bce7e6ca1045c221 100644 |
--- a/chrome/test/chromedriver/alert_commands.cc |
+++ b/chrome/test/chromedriver/alert_commands.cc |
@@ -59,7 +59,7 @@ Status ExecuteGetAlertText( |
web_view->GetJavaScriptDialogManager()->GetDialogMessage(&message); |
if (status.IsError()) |
return status; |
- value->reset(base::Value::CreateStringValue(message)); |
+ value->reset(new base::StringValue(message)); |
return Status(kOk); |
} |