|
Allow the implementation to return references instead of pointers to the bindings
Allow the implementation to return references instead of pointers to the
bindings. Up until now, this limitation was preventing some refactoring on the
implementation side.
This CL also makes Element::classList() and Element::dataset() return a
reference as a proof of concept, as this method is exposed to the JS.
R=haraken, adamk, tkent
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168062
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+82 lines, -82 lines) |
Patch |
|
M |
Source/bindings/scripts/v8_types.py
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestEventTarget.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterface.cpp
|
View
|
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceNode.cpp
|
View
|
|
8 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfacePython.cpp
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
|
12 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObjectPython.cpp
|
View
|
|
32 chunks |
+32 lines, -32 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestSpecialOperationsIdentifierRaisesException.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Element.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Element.cpp
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/shadow/MediaControlElements.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/vtt/VTTRegion.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|