|
Turn WorkerLoaderProxy into a threadsafe, ref-counted object.
To avoid relying on the loader client bridge's WorkerLoaderProxy reference
remaining valid until all uses of that bridge object have been finalized,
turn the WorkerLoaderProxy object into a threadsafe, ref-counted object.
Along with that, make the WorkerLoaderProxy implementation more flexible,
allowing the "backend" that actually proxies calls between the worker
and the main thread context to be detached when it is destructed.
This to allow it to be finalized before the WorkerLoaderProxy
instance can be. WorkerLoaderProxyProvider defines that "backend"
interface.
R=kinuko,haraken
BUG= 451344
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189549
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+215 lines, -124 lines) |
Patch |
|
M |
Source/core/core.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/fetch/MemoryCache.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/loader/WorkerLoaderClientBridge.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/WorkerLoaderClientBridge.cpp
|
View
|
|
10 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/WorkerThreadableLoader.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/WorkerThreadableLoader.cpp
|
View
|
1
2
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/DedicatedWorkerThread.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/DedicatedWorkerThread.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/SharedWorkerThread.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/SharedWorkerThread.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerLoaderProxy.h
|
View
|
1
2
3
|
2 chunks |
+42 lines, -5 lines |
0 comments
|
Download
|
|
A |
Source/core/workers/WorkerLoaderProxy.cpp
|
View
|
1
2
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerMessagingProxy.h
|
View
|
1
2
|
4 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerMessagingProxy.cpp
|
View
|
1
2
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerThread.h
|
View
|
1
2
|
5 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerThread.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/serviceworkers/ServiceWorkerThread.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/serviceworkers/ServiceWorkerThread.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/websockets/WorkerWebSocketChannel.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/modules/websockets/WorkerWebSocketChannel.cpp
|
View
|
|
11 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
Source/web/WebEmbeddedWorkerImpl.h
|
View
|
1
2
|
5 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/web/WebEmbeddedWorkerImpl.cpp
|
View
|
1
2
|
5 chunks |
+20 lines, -38 lines |
0 comments
|
Download
|
|
M |
Source/web/WebSharedWorkerImpl.h
|
View
|
1
2
|
6 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/web/WebSharedWorkerImpl.cpp
|
View
|
1
2
|
4 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
Total messages: 20 (6 generated)
|