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

Issue 2806343002: bindings: Call member.includes_for_type() for container types too. (Closed)

Created:
3 years, 8 months ago by Raphael Kubo da Costa (rakuco)
Modified:
3 years, 8 months ago
Reviewers:
haraken, bashi, Yuki
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

bindings: Call member.includes_for_type() for container types too. Follow-up to commit 8552274ebe ("bindings: Correctly expand all class/header dependencies in unions"), which caused member.includes_for_type() not to be called when a nested union member is processed. We now call it in all cases, even for container types such as records, sequences and unions, otherwise we risk skipping includes that come from the type (e.g. IDLRecord) itself. This does not happen at the moment, but may in the future, such as when we start converting sequences via IDLSequence and NativeValueTraits::NativeValue(). BUG=690428 R=bashi@chromium.org,haraken@chromium.org,yukishiino@chromium.org Review-Url: https://codereview.chromium.org/2806343002 Cr-Commit-Position: refs/heads/master@{#463268} Committed: https://chromium.googlesource.com/chromium/src/+/0338b35867900b81de5e6960eec0572f152974b7

Patch Set 1 #

Patch Set 2 : bindings: Call member.includes_for_type() for container types too. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M third_party/WebKit/Source/bindings/scripts/v8_union.py View 1 chunk +6 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/NodeOrLongSequenceOrEventOrXMLHttpRequestOrStringOrStringByteStringOrNodeListRecord.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
Raphael Kubo da Costa (rakuco)
PTAL
3 years, 8 months ago (2017-04-10 13:16:05 UTC) #1
Yuki
LGTM.
3 years, 8 months ago (2017-04-10 13:36:41 UTC) #4
haraken
LGTM
3 years, 8 months ago (2017-04-10 14:09:52 UTC) #5
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/2806343002/20001
3 years, 8 months ago (2017-04-10 15:16:30 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 15:29:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0338b35867900b81de5e6960eec0...

Powered by Google App Engine
This is Rietveld 408576698