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

Unified Diff: chrome/test/chromedriver/alert_commands.cc

Issue 388963002: Get rid of the rest of CreateStringValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad rebase Created 6 years, 5 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/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);
}
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client_unittest.cc ('k') | chromeos/network/network_configuration_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698