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

Issue 2680013008: Reduce use of ExecutionContextTask in core/ (Closed)

Created:
3 years, 10 months ago by yuryu
Modified:
3 years, 10 months ago
Reviewers:
haraken, nhiroki, tzik
CC:
chromium-reviews, blink-reviews, nhiroki, kinuko+fileapi, dcheng, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce use of ExecutionContextTask in core/ ExecutionContextTask is deprecated in favor of WTF::Closure. This patch replaces ExecutionContextTask::postTask with WebTaskRunner::postTask in some of the occurrences. BUG=625927 Review-Url: https://codereview.chromium.org/2680013008 Cr-Commit-Position: refs/heads/master@{#449557} Committed: https://chromium.googlesource.com/chromium/src/+/5fbd15767912e9546dab933ba377c8ab68a5b3c8

Patch Set 1 #

Patch Set 2 : Restore instrument #

Total comments: 2

Patch Set 3 : use wrapWeakPersistent to hold ExecutionContext #

Patch Set 4 : fix stacktrace #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -16 lines) Patch
M third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp View 1 2 3 3 chunks +16 lines, -7 lines 2 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.cpp View 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (23 generated)
tzik
https://codereview.chromium.org/2680013008/diff/20001/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp File third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp (right): https://codereview.chromium.org/2680013008/diff/20001/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp#newcode90 third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp:90: WTF::bind(&runGetAsStringTask, wrapPersistent(context), Could you replace wrapPersistent(context) here with wrapWeakPersistent(context), ...
3 years, 10 months ago (2017-02-09 12:15:34 UTC) #8
yuryu
https://codereview.chromium.org/2680013008/diff/20001/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp File third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp (right): https://codereview.chromium.org/2680013008/diff/20001/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp#newcode90 third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp:90: WTF::bind(&runGetAsStringTask, wrapPersistent(context), On 2017/02/09 12:15:34, tzik wrote: > Could ...
3 years, 10 months ago (2017-02-09 12:56:43 UTC) #12
tzik
lgtm
3 years, 10 months ago (2017-02-10 03:25:21 UTC) #21
yuryu
haraken, can you take a look? thanks.
3 years, 10 months ago (2017-02-10 03:37:35 UTC) #23
nhiroki
lgtm Regarding CL subject and description, "Worker: " prefix sounds strange because this is not ...
3 years, 10 months ago (2017-02-10 04:02:03 UTC) #24
yuryu
deleted the prefix.
3 years, 10 months ago (2017-02-10 04:38:36 UTC) #26
haraken
LGTM https://codereview.chromium.org/2680013008/diff/60001/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp File third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp (right): https://codereview.chromium.org/2680013008/diff/60001/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp#newcode88 third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp:88: context, "DataTransferItem.getAsString", callback); Not directly related to this ...
3 years, 10 months ago (2017-02-10 05:53:14 UTC) #27
tzik
https://codereview.chromium.org/2680013008/diff/60001/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp File third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp (right): https://codereview.chromium.org/2680013008/diff/60001/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp#newcode88 third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp:88: context, "DataTransferItem.getAsString", callback); On 2017/02/10 05:53:14, haraken wrote: > ...
3 years, 10 months ago (2017-02-10 06:13:19 UTC) #28
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/2680013008/60001
3 years, 10 months ago (2017-02-10 06:30:30 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 06:36:02 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/5fbd15767912e9546dab933ba377...

Powered by Google App Engine
This is Rietveld 408576698