|
Oilpan: Reduce RefPtr to WorkerGlobalScope.
This CL reduces the number of required Heap::collectGarbage calls in
Heap::collectAllGarbage on Worker termination.
- Make Event::m_target Member<>.
- Make MessageEvent::m_source Member<>.
MessageEvent is used to communicate between the main thread and workers.
For consistency, this CL adjusts MessagePort argument/return types.
They reduce RefPtr to WorkerGlobalScope, which implements EventTarget.
BUG= 375671
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175201
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+25 lines, -22 lines) |
Patch |
 |
M |
Source/core/dom/MessagePort.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/MessagePort.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/MessagePort.idl
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/events/Event.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/events/Event.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/MessageEvent.h
|
View
|
1
|
3 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/MessageEvent.cpp
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/workers/SharedWorkerGlobalScope.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/workers/SharedWorkerGlobalScope.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebSharedWorkerImpl.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|