Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Issue 1065653006: Array and map members for unions. (Closed)

Created:
5 years, 8 months ago by azani
Modified:
5 years, 8 months ago
Reviewers:
yzshen1
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Patch Set 4 : #

Messages

Total messages: 7 (1 generated)
azani
please take a look
5 years, 8 months ago (2015-04-20 21:02:29 UTC) #2
yzshen1
https://codereview.chromium.org/1065653006/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl File mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl (right): https://codereview.chromium.org/1065653006/diff/20001/mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl#newcode65 mojo/public/tools/bindings/generators/cpp_templates/union_definition.tmpl:65: reinterpret_cast<{{field.kind|cpp_field_type}}*>(&data), is it better to use &data.f_{{field.name}} instead of ...
5 years, 8 months ago (2015-04-21 07:25:23 UTC) #3
yzshen1
https://codereview.chromium.org/1065653006/diff/20001/mojo/public/cpp/bindings/tests/union_unittest.cc File mojo/public/cpp/bindings/tests/union_unittest.cc (right): https://codereview.chromium.org/1065653006/diff/20001/mojo/public/cpp/bindings/tests/union_unittest.cc#newcode743 mojo/public/cpp/bindings/tests/union_unittest.cc:743: void* raw_buf = buf.Leak(); Please dispose it properly. https://codereview.chromium.org/1065653006/diff/20001/mojo/public/cpp/bindings/tests/union_unittest.cc#newcode810 ...
5 years, 8 months ago (2015-04-21 16:39:14 UTC) #4
azani
ptal https://codereview.chromium.org/1065653006/diff/20001/mojo/public/cpp/bindings/tests/union_unittest.cc File mojo/public/cpp/bindings/tests/union_unittest.cc (right): https://codereview.chromium.org/1065653006/diff/20001/mojo/public/cpp/bindings/tests/union_unittest.cc#newcode743 mojo/public/cpp/bindings/tests/union_unittest.cc:743: void* raw_buf = buf.Leak(); On 2015/04/21 16:39:14, yzshen1 ...
5 years, 8 months ago (2015-04-21 17:43:33 UTC) #5
yzshen1
lgtm
5 years, 8 months ago (2015-04-21 17:52:33 UTC) #6
azani
5 years, 8 months ago (2015-04-21 18:31:33 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
0d829c56ca6dbd59ffcf2cfcf900bbeb86e97142 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698