|
Make [TreatNullAs=NullString] DOMString arguments nullable instead
An IDL method declaration such as
void f([TreatNullAs=NullString] DOMString x);
can be transformed into
void f(DOMString? x);
without affecting behavior or generated code, so do that.
Arguments that also have [TreatUndefinedAs=NullString] can't be converted
this way (yet), so this CL leaves them unchanged for now.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177322
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+31 lines, -32 lines) |
Patch |
|
M |
Source/core/css/CSSStyleDeclaration.idl
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/DOMImplementation.idl
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.idl
|
View
|
|
2 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Element.idl
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/NamedNodeMap.idl
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Node.idl
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/shadow/ShadowRoot.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/events/EventTarget.idl
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/CanvasRenderingContext2D.idl
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/storage/StorageEvent.idl
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|