|
Unify and provide one IsGarbageCollectedType<T> implementation.
Phase out the need and use of the older blink::IsGarbageCollected<T>
template, and go with the "marker-based" implementation that WTF
provides. But extended slightly to handle mixins without ambiguity +
it will now insist on T's definition being in scope when used so as to be
able to function reliably.
That latter change requires a few uses of collection types (vectors,
hash maps) to be adjusted so that the full element type of the collection
is in scope when code using the collection is compiled. The reason for
this constraint is that the collection types stringently checks that
Blink GCed objects aren't kept in off-heap collections.
R=
BUG=
Committed: https://crrev.com/1cfb1e02887a0157e3214e3886c39ce0966e1be5
Cr-Commit-Position: refs/heads/master@{#395287}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+130 lines, -107 lines) |
Patch |
|
M |
third_party/WebKit/Source/bindings/core/v8/OnStackObjectChecker.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/core/v8/OnStackObjectChecker.cpp
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSImageGeneratorValue.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableSection.h
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/CrossThreadCopier.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/heap/GarbageCollected.h
|
View
|
|
4 chunks |
+2 lines, -67 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/heap/Handle.h
|
View
|
|
2 chunks |
+0 lines, -29 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/heap/HeapAllocator.h
|
View
|
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
View
|
1
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/Functional.h
|
View
|
1
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/TypeTraits.h
|
View
|
|
2 chunks |
+29 lines, -3 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 25 (13 generated)
|