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

Issue 924443002: IDL: Support iterable<>/maplike<>/setlike<> referencing typedefs (Closed)

Created:
5 years, 10 months ago by Jens Widell
Modified:
5 years, 10 months ago
Reviewers:
haraken, bashi
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

IDL: Support iterable<>/maplike<>/setlike<> referencing typedefs The types referenced by iterable<>, maplike<> and setlike<> definitions were not subject to typedef resolution, leading to incorrect code generation. In the process, slightly generalize the typedef resolution mechanism to support objects referencing more than one type, as iterable<> and maplike<> definitions do. BUG=432683 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190052

Patch Set 1 : add test #

Patch Set 2 : fix the problem #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -39 lines) Patch
M Source/bindings/scripts/code_generator_v8.py View 1 1 chunk +17 lines, -25 lines 0 comments Download
M Source/bindings/scripts/idl_definitions.py View 1 12 chunks +44 lines, -11 lines 3 comments Download
M Source/bindings/tests/idls/core/TestObject.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Jens Widell
PTAL
5 years, 10 months ago (2015-02-12 11:12:51 UTC) #2
bashi
Thank you for the fix! LGTM. https://codereview.chromium.org/924443002/diff/20001/Source/bindings/scripts/idl_definitions.py File Source/bindings/scripts/idl_definitions.py (right): https://codereview.chromium.org/924443002/diff/20001/Source/bindings/scripts/idl_definitions.py#newcode329 Source/bindings/scripts/idl_definitions.py:329: if self.iterable: Question: ...
5 years, 10 months ago (2015-02-12 12:36:19 UTC) #3
haraken
LGTM
5 years, 10 months ago (2015-02-12 12:41:03 UTC) #4
Jens Widell
https://codereview.chromium.org/924443002/diff/20001/Source/bindings/scripts/idl_definitions.py File Source/bindings/scripts/idl_definitions.py (right): https://codereview.chromium.org/924443002/diff/20001/Source/bindings/scripts/idl_definitions.py#newcode329 Source/bindings/scripts/idl_definitions.py:329: if self.iterable: On 2015/02/12 12:36:19, bashi1 wrote: > Question: ...
5 years, 10 months ago (2015-02-12 12:47:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924443002/20001
5 years, 10 months ago (2015-02-12 12:48:53 UTC) #7
bashi
https://codereview.chromium.org/924443002/diff/20001/Source/bindings/scripts/idl_definitions.py File Source/bindings/scripts/idl_definitions.py (right): https://codereview.chromium.org/924443002/diff/20001/Source/bindings/scripts/idl_definitions.py#newcode329 Source/bindings/scripts/idl_definitions.py:329: if self.iterable: On 2015/02/12 12:47:51, Jens Widell wrote: > ...
5 years, 10 months ago (2015-02-12 13:08:19 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-12 14:03:13 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190052

Powered by Google App Engine
This is Rietveld 408576698