|
Introduce DECLARE/DEFINE_ELEMENT_FACTORY_WITH_TAGNAME macros.
They generate Element factory function like |PassRefPtrWillBeRawPtr<T>
create(const QualifiedName&, Document&)|.
We're going to change element factories at least twice.
1. Replace adoptRefWillBeRefCountedGarbageCollected with adoptRefWillBeNoop
2-1. Replace PassRefPtrWillBeRawPtr<T> with T* and remove adoptRefWillBeNoop if
we switch to Oilpan successfully.
2-2. Replace PassRefPtrWillBeRawPtr<T> with PassRefPtr<T>, and
adoptRefWillBeNoop with adoptRef if we decide not to switch Oilpan.
This CL makes these changes easier.
BUG= 357163
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175940
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+28 lines, -45 lines) |
Patch |
 |
M |
Source/core/dom/Element.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLHeadingElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLHeadingElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLModElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLModElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLPreElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLPreElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLQuoteElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLQuoteElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTableCellElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTableCellElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTableColElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTableColElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTableSectionElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTableSectionElement.cpp
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/svg/SVGUnknownElement.h
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/svg/SVGUnknownElement.cpp
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|