IDL compiler: Make make_copy as if deepcopy
Makes make_copy makes a copy with the same structure as the original object has. Like |deepcopy| uses |memo| argument, make_copy uses |memo| argument, too. ExtendedAttribute(s)'s __eq__ are replaced with |equals| class method so that __eq__ works on the object identity. This is necessary to make |memo| above work. Bug: 839389 Change-Id: I5896ef07787dd0086f510ae4102a5f538a9b5c56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1765098Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#690283}
Showing
Please register or sign in to comment