|
DOMDataStore should be cleared when shutting down worker threads
- The essence of this CL is to call DOMWrapperWorld::dispose() when shutting down WorkerScriptController. This makes sure that DOMDataStore is cleared when shutting down the worker thread.
- This CL also fixes misused RefPtr<DOMWrapperWorld> and DOMWrapperWorld*. In general, we should use RefPtr<DOMWrapperWorld> when we store DOMWrapperWorld in heap-allocated objects and when we want to pass ownership around. Otherwise, we should use DOMWrapperWorld*.
BUG= 341032
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168874
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+30 lines, -27 lines) |
Patch |
 |
M |
Source/bindings/v8/DOMWrapperWorld.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/DOMWrapperWorld.cpp
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8AbstractEventListener.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8AbstractEventListener.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8Binding.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8PerContextData.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8PerContextData.cpp
|
View
|
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8WindowShell.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/WorkerScriptController.cpp
|
View
|
1
2
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/ErrorEvent.h
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/ErrorEvent.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/workers/WorkerMessagingProxy.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/tests/CustomEventTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|