Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 2db6514b6d96651fa5b270f296a59b20c7cd7f5d..4924c3fb9700810cc3c3f94af8e5f78df94d8e29 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2310,9 +2310,12 @@ void WebContentsImpl::OnFindMatchRectsReply( |
delegate_->FindMatchRectsReply(this, version, rects, active_rect); |
} |
-void WebContentsImpl::OnOpenDateTimeDialog(int type, const std::string& value) { |
+void WebContentsImpl::OnOpenDateTimeDialog( |
+ const ViewHostMsg_DateTimeDialogValue_Params& value) { |
date_time_chooser_->ShowDialog( |
- GetContentNativeView(), GetRenderViewHost(), type, value); |
+ GetContentNativeView(), GetRenderViewHost(), value.dialog_type, |
+ value.year, value.month, value.day, value.hour, |
+ value.minute, value.second); |
} |
#endif |