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

Issue 1118993002: Oilpan: IDL union objects should be put in HeapVector (Closed)

Created:
5 years, 7 months ago by haraken
Modified:
5 years, 7 months ago
CC:
blink-reviews, arv+blink, tzik, vivekg_samsung, nhiroki, vivekg, blink-reviews-bindings_chromium.org, kinuko+fileapi
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: IDL union objects should be put in HeapVector Since IDL union objects are ALLOW_ONLY_INLINE_ALLOCATION, they need to be put in HeapVector, not Vector. BUG=475801 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195092

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -14 lines) Patch
M Source/bindings/scripts/v8_types.py View 1 3 chunks +4 lines, -3 lines 0 comments Download
M Source/bindings/templates/union.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/UnionTypesCore.h View 1 1 chunk +20 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/modules/UnionTypesModules.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/fileapi/Blob.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/fileapi/Blob.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fileapi/File.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fileapi/File.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/UnionTypesTest.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/testing/UnionTypesTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
haraken
PTAL yutak@: We might want to improve the plugin so that it can catch this ...
5 years, 7 months ago (2015-05-01 14:55:36 UTC) #2
haraken
https://codereview.chromium.org/1118993002/diff/1/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/1118993002/diff/1/Source/bindings/scripts/v8_types.py#newcode313 Source/bindings/scripts/v8_types.py:313: if idl_type.is_garbage_collected or idl_type.is_dictionary or idl_type.is_union_type: bashi-san@: Maybe would ...
5 years, 7 months ago (2015-05-01 14:58:13 UTC) #3
Jens Widell
https://codereview.chromium.org/1118993002/diff/1/Source/bindings/templates/union.h File Source/bindings/templates/union.h (right): https://codereview.chromium.org/1118993002/diff/1/Source/bindings/templates/union.h#newcode93 Source/bindings/templates/union.h:93: WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::{{container.cpp_class}}); On 2015/05/01 14:58:13, haraken wrote: > > bashi-san@: ...
5 years, 7 months ago (2015-05-04 14:02:18 UTC) #5
haraken
On 2015/05/04 14:02:18, Jens Widell wrote: > https://codereview.chromium.org/1118993002/diff/1/Source/bindings/templates/union.h > File Source/bindings/templates/union.h (right): > > https://codereview.chromium.org/1118993002/diff/1/Source/bindings/templates/union.h#newcode93 ...
5 years, 7 months ago (2015-05-04 22:27:26 UTC) #6
Yuta Kitamura
haraken, re: Blink plugin: sounds plausible, can you file a bug and assign it to ...
5 years, 7 months ago (2015-05-07 05:20:28 UTC) #7
bashi
https://codereview.chromium.org/1118993002/diff/1/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/1118993002/diff/1/Source/bindings/scripts/v8_types.py#newcode313 Source/bindings/scripts/v8_types.py:313: if idl_type.is_garbage_collected or idl_type.is_dictionary or idl_type.is_union_type: On 2015/05/01 14:58:13, ...
5 years, 7 months ago (2015-05-07 23:59:24 UTC) #8
haraken
On 2015/05/07 23:59:24, bashi1(ooo til May 12) wrote: > https://codereview.chromium.org/1118993002/diff/1/Source/bindings/scripts/v8_types.py > File Source/bindings/scripts/v8_types.py (right): > ...
5 years, 7 months ago (2015-05-08 00:06:09 UTC) #9
bashi
LGTM. Could you add a comment to describe why we use WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS() and why it ...
5 years, 7 months ago (2015-05-08 00:11:20 UTC) #10
haraken
> Could you add a comment to describe why we use > WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS() and why ...
5 years, 7 months ago (2015-05-08 01:02:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118993002/20001
5 years, 7 months ago (2015-05-08 01:04:07 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-05-08 05:43:19 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195092

Powered by Google App Engine
This is Rietveld 408576698