|
bindings: Makes installV8FooTemplate thread-safe.
'static const' initialization in functions is considered as
thread-unsafe (data race). Removes 'static const' initialization, and
uses simple 'const' initialization instead.
Note: 'static' keyword in the top-level 'static const' initialization
has no meaning. 'const' implies file-scope, so no need to explicitly
write 'static' in that case.
BUG= 526963, 526959
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201870
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+94 lines, -94 lines) |
Patch |
 |
M |
Source/bindings/templates/constants.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/conversions.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface_base.cpp
|
View
|
1
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/UnionTypesCore.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8SVGTestInterface.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestDictionary.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestException.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterface.cpp
|
View
|
1
|
10 chunks |
+23 lines, -23 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterface2.cpp
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterface3.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp
|
View
|
1
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestNode.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
1
|
10 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestTypedefs.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/modules/V8TestInterface5.cpp
|
View
|
1
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 6 (2 generated)
|