Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Issue 2645613006: Worker: Stop using ExecutionContextTask on WorkerLoaderProxy::postTaskToWorkerGlobalScope (Closed)

Created:
3 years, 11 months ago by nhiroki
Modified:
3 years, 11 months ago
Reviewers:
haraken, kinuko, yhirano, tzik
CC:
chromium-reviews, kinuko+worker_chromium.org, tyoshino+watch_chromium.org, yhirano+watch_chromium.org, shimazu+worker_chromium.org, loading-reviews_chromium.org, gavinp+loader_chromium.org, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, Nate Chapin, kinuko+watch, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Worker: Stop using ExecutionContextTask on WorkerLoaderProxy::postTaskToWorkerGlobalScope ExecutionContextTask is being deprecated. This CL replaces ExecutionContextTask use on WorkerLoaderProxy::postTaskToWorkerGlobalScope with WTF::CrossThreadClosure. BUG=625927 Review-Url: https://codereview.chromium.org/2645613006 Cr-Commit-Position: refs/heads/master@{#444751} Committed: https://chromium.googlesource.com/chromium/src/+/7f3cc31c4c860e5cad96ad142562cd714c0fcf47

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 10

Patch Set 3 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -114 lines) Patch
M third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp View 1 2 6 chunks +17 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp View 1 2 17 chunks +31 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThread.h View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThread.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp View 9 chunks +20 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 32 (23 generated)
nhiroki
Hi, can you review this? +yhirano@ for loader/websocket components +tzik@ and haraken@ for the overall ...
3 years, 11 months ago (2017-01-19 09:53:58 UTC) #10
yhirano
https://codereview.chromium.org/2645613006/diff/60001/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp File third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp (right): https://codereview.chromium.org/2645613006/diff/60001/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp#newcode32 third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp:32: #include "wtf/Assertions.h" +wtf/Functional.h https://codereview.chromium.org/2645613006/diff/60001/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp File third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp (right): https://codereview.chromium.org/2645613006/diff/60001/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp#newcode46 third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp:46: ...
3 years, 11 months ago (2017-01-19 10:54:29 UTC) #15
haraken
LGTM
3 years, 11 months ago (2017-01-19 11:04:52 UTC) #16
tzik
lgtm
3 years, 11 months ago (2017-01-19 11:49:47 UTC) #17
kinuko
https://codereview.chromium.org/2645613006/diff/60001/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h File third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h (right): https://codereview.chromium.org/2645613006/diff/60001/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h#newcode113 third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h:113: // A TaskForwarder forwards an ExecutionContextTask to the worker ...
3 years, 11 months ago (2017-01-19 13:04:20 UTC) #21
nhiroki
Thank you. Updated. https://codereview.chromium.org/2645613006/diff/60001/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp File third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp (right): https://codereview.chromium.org/2645613006/diff/60001/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp#newcode32 third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp:32: #include "wtf/Assertions.h" On 2017/01/19 10:54:29, yhirano ...
3 years, 11 months ago (2017-01-19 14:02:34 UTC) #22
yhirano
lgtm
3 years, 11 months ago (2017-01-19 14:15:19 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2645613006/80001
3 years, 11 months ago (2017-01-19 14:46:50 UTC) #29
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 16:10:32 UTC) #32
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/7f3cc31c4c860e5cad96ad142562...

Powered by Google App Engine
This is Rietveld 408576698