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

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

Created:
4 years, 1 month ago by nhiroki
Modified:
4 years, 1 month ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, rwlbuis, sof, nessy, Srirama, vcarbune.chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Scheduler: Deprecate CancellableTaskFactory in favor of WebTaskRunner::postCancellableTask (2) BUG=665285 Committed: https://crrev.com/350ebf173edb4994dd561ee16c2f7cf5afdaa7be Cr-Commit-Position: refs/heads/master@{#433486}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 19

Patch Set 3 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -71 lines) Patch
M third_party/WebKit/Source/core/dom/Document.h View 1 3 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptRunner.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 5 chunks +22 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h View 3 chunks +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.cpp View 1 2 3 chunks +17 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/loader/NavigationScheduler.h View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/NavigationScheduler.cpp View 3 chunks +12 lines, -11 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 38 (20 generated)
nhiroki
PTAL, thanks! (Probably the next patch will completely remove CancellableTaskFactory)
4 years, 1 month ago (2016-11-16 08:01:55 UTC) #7
haraken
https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp#newcode3268 third_party/WebKit/Source/core/dom/Document.cpp:3268: // task handle is destroyed on the dtor of ...
4 years, 1 month ago (2016-11-16 11:37:20 UTC) #12
nhiroki
Thank you for your comments. https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp File third_party/WebKit/Source/core/loader/NavigationScheduler.cpp (right): https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp#newcode530 third_party/WebKit/Source/core/loader/NavigationScheduler.cpp:530: scheduler->addPendingNavigation(m_frameType); Question: addPendingNavigation and ...
4 years, 1 month ago (2016-11-16 13:49:33 UTC) #13
haraken
https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp File third_party/WebKit/Source/core/loader/NavigationScheduler.cpp (right): https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp#newcode530 third_party/WebKit/Source/core/loader/NavigationScheduler.cpp:530: scheduler->addPendingNavigation(m_frameType); On 2016/11/16 13:49:32, nhiroki wrote: > Question: addPendingNavigation ...
4 years, 1 month ago (2016-11-17 05:59:09 UTC) #17
nhiroki
https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp File third_party/WebKit/Source/core/loader/NavigationScheduler.cpp (right): https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp#newcode530 third_party/WebKit/Source/core/loader/NavigationScheduler.cpp:530: scheduler->addPendingNavigation(m_frameType); On 2016/11/17 05:59:09, haraken wrote: > On 2016/11/16 ...
4 years, 1 month ago (2016-11-17 06:15:59 UTC) #18
tzik
https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp#newcode3268 third_party/WebKit/Source/core/dom/Document.cpp:3268: // task handle is destroyed on the dtor of ...
4 years, 1 month ago (2016-11-17 06:20:15 UTC) #19
haraken
LGTM with comments. https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp#newcode3268 third_party/WebKit/Source/core/dom/Document.cpp:3268: // task handle is destroyed on ...
4 years, 1 month ago (2016-11-17 06:35:19 UTC) #20
nhiroki
+mlamouri@, could you take a look at my comment in HTMLMediaElement.cpp? Thanks. https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp ...
4 years, 1 month ago (2016-11-17 08:10:16 UTC) #22
tzik
lgtm
4 years, 1 month ago (2016-11-17 08:25:25 UTC) #23
alex clarke (OOO till 29th)
On 2016/11/17 05:59:09, haraken wrote: > https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp > File third_party/WebKit/Source/core/loader/NavigationScheduler.cpp (right): > > https://codereview.chromium.org/2507673002/diff/40001/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp#newcode530 > ...
4 years, 1 month ago (2016-11-17 09:59:05 UTC) #24
alex clarke (OOO till 29th)
lgtm
4 years, 1 month ago (2016-11-17 09:59:19 UTC) #25
mlamouri (slow - plz ping)
HTMLMediaElement.* lgtm
4 years, 1 month ago (2016-11-18 14:13:26 UTC) #27
nhiroki
On 2016/11/18 14:13:26, mlamouri (OOO until 29-11) wrote: > HTMLMediaElement.* lgtm
4 years, 1 month ago (2016-11-21 03:30:15 UTC) #28
nhiroki
On 2016/11/18 14:13:26, mlamouri (OOO until 29-11) wrote: > HTMLMediaElement.* lgtm Just in case you ...
4 years, 1 month ago (2016-11-21 03:42:52 UTC) #29
nhiroki
On 2016/11/21 03:42:52, nhiroki wrote: > On 2016/11/18 14:13:26, mlamouri (OOO until 29-11) wrote: > ...
4 years, 1 month ago (2016-11-21 03:46:23 UTC) #30
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/2507673002/60001
4 years, 1 month ago (2016-11-21 03:46:51 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-11-21 06:28:14 UTC) #36
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 06:32:24 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/350ebf173edb4994dd561ee16c2f7cf5afdaa7be
Cr-Commit-Position: refs/heads/master@{#433486}

Powered by Google App Engine
This is Rietveld 408576698