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

Issue 2482813002: Cancel a task associated to TaskHandle when the TaskHandle is overridden (Closed)

Created:
4 years, 1 month ago by tzik
Modified:
4 years, 1 month ago
Reviewers:
hiroshige, haraken
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cancel a task associated to TaskHandle when the TaskHandle is overridden When a TaskHandle is overridden by another TaskHandle, the original task should be cancelled, though the previous implementation of TaskRunner unintentionally detach the old task without cancelling it. This CL implements the move-assignment operator properly, so that the assignment operation cancels old task. Committed: https://crrev.com/0b5fe82535de96d22d0bd32704e0b3b57f6a07b7 Cr-Commit-Position: refs/heads/master@{#430579}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -1 line) Patch
M third_party/WebKit/Source/platform/WebTaskRunner.cpp View 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/WebTaskRunnerTest.cpp View 1 chunk +25 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (7 generated)
tzik
PTAL
4 years, 1 month ago (2016-11-07 08:45:13 UTC) #4
haraken
I asked a question related to this CL in https://codereview.chromium.org/2478603003/
4 years, 1 month ago (2016-11-07 10:06:49 UTC) #5
haraken
Discussed offline. LGTM.
4 years, 1 month ago (2016-11-08 08:32:12 UTC) #8
hiroshige
lgtm
4 years, 1 month ago (2016-11-08 08:43:35 UTC) #9
tzik
Logging the discussion: > Hmm, we need to keep holding m_pendingEvent in order not to ...
4 years, 1 month ago (2016-11-08 09:15:38 UTC) #10
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/2482813002/1
4 years, 1 month ago (2016-11-08 09:16:19 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-08 11:38:54 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 11:40:58 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0b5fe82535de96d22d0bd32704e0b3b57f6a07b7
Cr-Commit-Position: refs/heads/master@{#430579}

Powered by Google App Engine
This is Rietveld 408576698