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

Issue 347773003: IDL: Remove holder lookup in attribute_getter macro (Closed)

Created:
6 years, 6 months ago by bashi
Modified:
6 years, 6 months ago
Reviewers:
haraken
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

IDL: Remove holder lookup in attribute_getter macro According to haraken's comment on [1], we can always use info.Holder() instead of calling findInstanceInPrototypeChain(). Removing one FIXME. [1] https://codereview.chromium.org/140663012 BUG=345503 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177072

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -10 lines) Patch
M Source/bindings/templates/attributes.cpp View 1 chunk +1 line, -7 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bashi
Could you review this? Your comment: https://codereview.chromium.org/140663012/diff/50001/Source/bindings/templates/attributes.cpp#newcode21 As far as I tested, the return value ...
6 years, 6 months ago (2014-06-27 05:55:31 UTC) #1
haraken
LGTM. I believe findInstanceInPrototypeChain() is always equal to info.Holder in this case.
6 years, 6 months ago (2014-06-27 06:00:03 UTC) #2
bashi
The CQ bit was checked by bashi@chromium.org
6 years, 6 months ago (2014-06-27 06:01:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bashi@chromium.org/347773003/1
6 years, 6 months ago (2014-06-27 06:02:35 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-27 06:06:16 UTC) #5
Message was sent while issue was closed.
Change committed as 177072

Powered by Google App Engine
This is Rietveld 408576698