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

Issue 2506553002: Scheduler: Deprecate CancellableTaskFactory in favor of WebTaskRunner::postCancellableTask (Closed)

Created:
4 years, 1 month ago by nhiroki
Modified:
4 years, 1 month ago
Reviewers:
haraken, yhirano, tzik
CC:
chromium-reviews, tyoshino+watch_chromium.org, nessy, mlamouri+watch-blink_chromium.org, blink-reviews-html_chromium.org, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Srirama, Nate Chapin, scheduler-bugs_chromium.org, vcarbune.chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Scheduler: Deprecate CancellableTaskFactory in favor of WebTaskRunner::postCancellableTask BUG=665285 Committed: https://crrev.com/536a75d6f8cdbb64f957cf6abb13ff1e2d581743 Cr-Commit-Position: refs/heads/master@{#432451}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add comments #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -53 lines) Patch
M third_party/WebKit/Source/core/fetch/Resource.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 3 chunks +16 lines, -13 lines 6 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h View 2 chunks +9 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/CancellableTaskFactoryTest.cpp View 1 chunk +0 lines, -17 lines 0 comments Download

Messages

Total messages: 31 (14 generated)
nhiroki
PTAL, thanks!
4 years, 1 month ago (2016-11-15 05:03:47 UTC) #5
yhirano
https://codereview.chromium.org/2506553002/diff/20001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2506553002/diff/20001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode277 third_party/WebKit/Source/core/fetch/Resource.cpp:277: WTF::bind(&ResourceCallback::runTask, WTF::unretained(this))); Please write a comment explaining why this ...
4 years, 1 month ago (2016-11-15 05:40:07 UTC) #6
nhiroki
Thank you. Updated.
4 years, 1 month ago (2016-11-15 06:16:23 UTC) #7
nhiroki
https://codereview.chromium.org/2506553002/diff/20001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2506553002/diff/20001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode277 third_party/WebKit/Source/core/fetch/Resource.cpp:277: WTF::bind(&ResourceCallback::runTask, WTF::unretained(this))); On 2016/11/15 05:40:07, yhirano wrote: > Please ...
4 years, 1 month ago (2016-11-15 06:16:42 UTC) #8
yhirano
core/fetch LGTM
4 years, 1 month ago (2016-11-15 08:35:19 UTC) #13
tzik
lgtm
4 years, 1 month ago (2016-11-15 09:09:24 UTC) #14
nhiroki
+haraken@, can you review core/html and platform/scheduler? Thanks.
4 years, 1 month ago (2016-11-15 11:49:15 UTC) #17
haraken
https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode273 third_party/WebKit/Source/core/fetch/Resource.cpp:273: Platform::current() Can we use TaskRunnerHelper or ParentFrameTaskRunner? Our plan ...
4 years, 1 month ago (2016-11-15 16:15:28 UTC) #18
nhiroki
Thank you for your comment. https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode273 third_party/WebKit/Source/core/fetch/Resource.cpp:273: Platform::current() On 2016/11/15 16:15:28, ...
4 years, 1 month ago (2016-11-15 22:31:49 UTC) #19
haraken
LGTM https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode271 third_party/WebKit/Source/core/fetch/Resource.cpp:271: // |m_taskHandle| is destroyed on the dtor of ...
4 years, 1 month ago (2016-11-16 04:22:56 UTC) #20
tzik
https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode271 third_party/WebKit/Source/core/fetch/Resource.cpp:271: // |m_taskHandle| is destroyed on the dtor of this ...
4 years, 1 month ago (2016-11-16 04:45:33 UTC) #21
haraken
https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode271 third_party/WebKit/Source/core/fetch/Resource.cpp:271: // |m_taskHandle| is destroyed on the dtor of this ...
4 years, 1 month ago (2016-11-16 05:02:55 UTC) #22
nhiroki
https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode271 third_party/WebKit/Source/core/fetch/Resource.cpp:271: // |m_taskHandle| is destroyed on the dtor of this ...
4 years, 1 month ago (2016-11-16 05:54:01 UTC) #23
haraken
On 2016/11/16 05:54:01, nhiroki wrote: > https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp > File third_party/WebKit/Source/core/fetch/Resource.cpp (right): > > https://codereview.chromium.org/2506553002/diff/40001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode271 > ...
4 years, 1 month ago (2016-11-16 05:54:34 UTC) #24
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/2506553002/40001
4 years, 1 month ago (2016-11-16 05:59:10 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-11-16 09:55:34 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 09:58:58 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/536a75d6f8cdbb64f957cf6abb13ff1e2d581743
Cr-Commit-Position: refs/heads/master@{#432451}

Powered by Google App Engine
This is Rietveld 408576698