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

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

Issue 397793002: Eliminate CreateBooleanValue from test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge 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 de7118d5725a87abd720353901760ada3045b795..199e7bc4515bf1dc1e5b2035aa1ad6458294528f 100644
--- a/chrome/test/chromedriver/alert_commands.cc
+++ b/chrome/test/chromedriver/alert_commands.cc
@@ -44,7 +44,7 @@ Status ExecuteGetAlert(
WebView* web_view,
const base::DictionaryValue& params,
scoped_ptr<base::Value>* value) {
- value->reset(base::Value::CreateBooleanValue(
+ value->reset(new base::FundamentalValue(
web_view->GetJavaScriptDialogManager()->IsDialogOpen()));
return Status(kOk);
}
« no previous file with comments | « chrome/browser/ui/webui/sync_internals_ui_unittest.cc ('k') | chromeos/dbus/shill_device_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698