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

Issue 214143003: Bindings: use |holder| local variable in attribute getters and setters (Closed)

Created:
6 years, 9 months ago by Nils Barth (inactive)
Modified:
6 years, 9 months ago
Reviewers:
haraken
CC:
blink-reviews, kojih, arv+blink, jsbell+bindings_chromium.org, sof, kouhei+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive
Visibility:
Public.

Description

Bindings: use |holder| local variable in attribute getters and setters Current generated bindings for attribute getters has a special case for |holder|, as this is sometimes stored as a local variable. This simplifies the template flow. R=haraken BUG=345503 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170143

Patch Set 1 #

Total comments: 3

Patch Set 2 : |holder| only #

Total comments: 1

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1269 lines, -724 lines) Patch
M Source/bindings/templates/attributes.cpp View 1 2 8 chunks +26 lines, -23 lines 0 comments Download
M Source/bindings/tests/results/V8SVGTestInterface.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestException.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 18 chunks +37 lines, -19 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp View 1 7 chunks +16 lines, -9 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp View 1 13 chunks +30 lines, -18 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNode.cpp View 11 chunks +22 lines, -11 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfacePython.cpp View 1 31 chunks +68 lines, -39 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestNode.cpp View 1 6 chunks +13 lines, -7 lines 0 comments Download
Source/bindings/tests/results/V8TestObject.cpp View 1 2 194 chunks +447 lines, -254 lines 0 comments Download
Source/bindings/tests/results/V8TestObjectPython.cpp View 1 2 251 chunks +572 lines, -322 lines 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.cpp View 1 10 chunks +26 lines, -16 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nils Barth (inactive)
Another cleanup.
6 years, 9 months ago (2014-03-27 03:47:29 UTC) #1
haraken
https://codereview.chromium.org/214143003/diff/1/Source/bindings/templates/attributes.cpp File Source/bindings/templates/attributes.cpp (right): https://codereview.chromium.org/214143003/diff/1/Source/bindings/templates/attributes.cpp#newcode20 Source/bindings/templates/attributes.cpp:20: attribute.is_keep_alive_for_gc %} I'm not sure if this improves the ...
6 years, 9 months ago (2014-03-27 04:40:36 UTC) #2
Nils Barth (inactive)
Revised to only use |holder|; PTAL. https://codereview.chromium.org/214143003/diff/1/Source/bindings/templates/attributes.cpp File Source/bindings/templates/attributes.cpp (right): https://codereview.chromium.org/214143003/diff/1/Source/bindings/templates/attributes.cpp#newcode20 Source/bindings/templates/attributes.cpp:20: attribute.is_keep_alive_for_gc %} On ...
6 years, 9 months ago (2014-03-27 05:19:45 UTC) #3
haraken
LGTM. This looks like a good balancing point. (Just to clarify: You don't need to ...
6 years, 9 months ago (2014-03-27 05:37:57 UTC) #4
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-27 05:53:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/214143003/20001
6 years, 9 months ago (2014-03-27 05:53:46 UTC) #6
Nils Barth (inactive)
On 2014/03/27 05:37:57, haraken wrote: > LGTM. This looks like a good balancing point. > ...
6 years, 9 months ago (2014-03-27 05:53:47 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 05:53:53 UTC) #8
commit-bot: I haz the power
Failed to apply patch for Source/bindings/tests/results/V8TestObject.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-27 05:53:53 UTC) #9
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-27 05:55:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/214143003/10014
6 years, 9 months ago (2014-03-27 05:55:26 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-27 06:59:08 UTC) #12
Message was sent while issue was closed.
Change committed as 170143

Powered by Google App Engine
This is Rietveld 408576698