commit | e0a03a53894ab5a4b94be79fd9b727630f41f35e | [log] [tgz] |
---|---|---|
author | Kent Tamura <tkent@chromium.org> | Thu May 23 04:08:07 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 23 04:08:07 2019 |
tree | 675ae1d424c299679d9cc366de55545d642c942f | |
parent | 26b1de89e6b2869bc8a1d7dc81f9f24bb6e6ecb2 [diff] |
Remove blink::DateTimeSuggestion Use blink::mojom::DateTimeSuggestion instead. Because mojo structs are not copyable, this CL makes DateTimeChooserParameters non-copyable too. DateTimeChooserImpl constructor copied DateTimeChooserParameters. Now DateTimeChooserImpl stores a raw pointer to DateTimeChooserParameters to avoid copying it. It's safe because DateTimeChooserImpl::WriteDocument() is called back in the constructor. Explicitly define DateTimeChooserParameters constructor and destructor in order to generate DateTimeSuggestionPtr constructor/destructor code in date_time_chooser.cc. Bug: 950157 Change-Id: I4a8da56aa085e69fa234e8cf7886e59e6f4430e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1619589 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/master@{#662502}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .