commit | 124dcbb2a2b974a368182764cb27e65a5883e76e | [log] [tgz] |
---|---|---|
author | yzshen <yzshen@chromium.org> | Sat Jun 04 01:03:55 2016 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 03:23:18 2020 +0900 |
tree | 96082ef5cd99922fcf9e45f7b339a9c44633d913 | |
parent | 1c1840fc045cddb765e3d3ff7268aaed57774674 [diff] |
Mojo C++ bindings: more consistent Clone() and Equals(). With this change, the Clone() and Equals() methods of structs/unions/maps/arrays call Clone() and Equals() of elements if available, otherwise fall back on copy and == operator of elements. BUG=616527 Review-Url: https://codereview.chromium.org/2031823002 Cr-Commit-Position: refs/heads/master@{#397717} CrOS-Libchrome-Original-Commit: 14c4e1dca371579ceef264b8e3272b07c8bb92cb