|
|
Remove V8HiddenPropertyName
V8HiddenPropertyName is used as a thin wrapper for GetHiddenValue(name) and SetHiddenValue(name) in order to prefix the name with "WebCore::HiddenProperty::". This prefix is for avoiding naming conflicts with someone who sets hidden values as well. However, given that V8 binding is the only guy who sets the hidden values on DOM wrappers, there is no need to use the prefix.
- By removing the prefix, we can remove all code about V8HiddenPropertyName.
- By removing the prefix, we can slightly improve performance of GetHiddenValue() and SetHiddenValue() since we no longer need to prefix strings nor look up V8PerIsolateData to get cached, prefixed strings. (I don't know if the performance of GetHiddenValue()/SetHiddenValue() matters though.)
Given the above, this CL removes V8HiddenPropertyName.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165735
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+130 lines, -292 lines) |
Patch |
 |
M |
Source/bindings/bindings.gypi
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/code_generator_v8.pm
|
View
|
1
2
3
4
5
|
9 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp
|
View
|
1
2
3
4
5
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
1
2
3
4
5
|
7 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestObjectPython.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/IDBBindingUtilities.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptController.cpp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptState.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8AbstractEventListener.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8Binding.h
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8Binding.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+36 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8DOMWrapper.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8ErrorHandler.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8EventListenerList.h
|
View
|
1
2
3
4
5
|
5 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
D |
Source/bindings/v8/V8HiddenPropertyName.h
|
View
|
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
 |
D |
Source/bindings/v8/V8HiddenPropertyName.cpp
|
View
|
|
1 chunk |
+0 lines, -79 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8Initializer.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8LazyEventListener.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8MutationCallback.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8NodeFilterCondition.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8PerIsolateData.h
|
View
|
1
2
3
4
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8PerIsolateData.cpp
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8WindowShell.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8CustomEventCustom.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8ErrorEventCustom.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8HistoryCustom.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8MessageChannelCustom.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8MessageEventCustom.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8PopStateEventCustom.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8PromiseCustom.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8WindowCustom.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
Total messages: 29 (0 generated)
|