|
Remove most of the blink::Task wrapping of WTF::Function outside WebTaskRunner
To prepare for splitting WTF::Function into same-thread and cross-thread
classes (see Issue 588224), this CL:
- Removes most of the blink::Task wrapping of WTF::Function.
- Removes most of #include "platform/Task.h".
- Replaces postTask(WebTaskRunner::Task*) with postTask(PassOwnPtr<Closure>) where possible.
BUG= 588224
Committed: https://crrev.com/3b7f33e65be2c0f06a8b2a6a414090aff57f8185
Cr-Commit-Position: refs/heads/master@{#377951}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+114 lines, -141 lines) |
Patch |
 |
M |
third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp
|
View
|
1
2
3
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptStreamerThread.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptStreamerThread.cpp
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerThread.h
|
View
|
1
2
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
View
|
1
2
3
|
9 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/fetch/CompositeDataConsumerHandle.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/fetch/CompositeDataConsumerHandleTest.cpp
|
View
|
|
12 chunks |
+27 lines, -28 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h
|
View
|
|
8 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/fetch/DataConsumerHandleUtil.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/fetch/DataConsumerTeeTest.cpp
|
View
|
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/mediacapturefromelement/OnRequestCanvasDrawListener.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/mediacapturefromelement/TimedCanvasDrawListener.cpp
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/AsyncAudioDecoder.cpp
|
View
|
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
|
View
|
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webdatabase/DatabaseTask.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
|
View
|
1
2
3
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/WebScheduler.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/WebThreadSupportingGC.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp
|
View
|
1
2
3
4
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/heap/HeapPage.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
View
|
1
|
9 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebNode.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/SpinLockTest.cpp
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 31 (15 generated)
|