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 a062f18fa47c36b9e53e08b35ae69a888ea4bc64..02dbcb0de1ffb3b50bfc79592d1524b91530610d 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2350,9 +2350,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 |