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); |
} |