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

Issue 2816143003: bindings: Place bool flags in a batch in IDL dictionary (Closed)

Created:
3 years, 8 months ago by bashi
Modified:
3 years, 8 months ago
Reviewers:
haraken, peria, Yuki
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

bindings: Place bool flags in a batch in IDL dictionary Before this CL the code generator put bool flags next to member variables. This caused unwanted paddings (e.g. seven bytes of padding after a double member). Put bool flags in a batch to reduce paddings. BUG=711101 Review-Url: https://codereview.chromium.org/2816143003 Cr-Commit-Position: refs/heads/master@{#464702} Committed: https://chromium.googlesource.com/chromium/src/+/b9b0560ef757a95e871f72263e8932559a0e23d0

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Messages

Total messages: 22 (13 generated)
bashi
PTAL sizeof(ConstrainDoubleRange) 72 -> 56 on my Linux x86_64.
3 years, 8 months ago (2017-04-14 02:27:45 UTC) #4
peria
LGTM https://codereview.chromium.org/2816143003/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl File third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl (right): https://codereview.chromium.org/2816143003/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl#newcode42 third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl:42: {% for member in members %} nit: would ...
3 years, 8 months ago (2017-04-14 03:20:04 UTC) #7
bashi
https://codereview.chromium.org/2816143003/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl File third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl (right): https://codereview.chromium.org/2816143003/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl#newcode42 third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl:42: {% for member in members %} On 2017/04/14 03:20:04, ...
3 years, 8 months ago (2017-04-14 03:22:47 UTC) #8
peria
https://codereview.chromium.org/2816143003/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl File third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl (right): https://codereview.chromium.org/2816143003/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl#newcode42 third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl:42: {% for member in members %} On 2017/04/14 03:22:47, ...
3 years, 8 months ago (2017-04-14 03:44:49 UTC) #9
bashi
https://codereview.chromium.org/2816143003/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl File third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl (right): https://codereview.chromium.org/2816143003/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl#newcode42 third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl:42: {% for member in members %} On 2017/04/14 03:44:49, ...
3 years, 8 months ago (2017-04-14 03:55:28 UTC) #12
Yuki
LGTM.
3 years, 8 months ago (2017-04-14 06:38:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2816143003/20001
3 years, 8 months ago (2017-04-14 08:07:11 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/b9b0560ef757a95e871f72263e8932559a0e23d0
3 years, 8 months ago (2017-04-14 08:12:20 UTC) #21
haraken
3 years, 8 months ago (2017-04-14 18:52:58 UTC) #22
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698