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

Issue 2556053004: [blink] Support moving timers between WebTaskRunners (Closed)

Created:
4 years ago by altimin
Modified:
4 years ago
Reviewers:
haraken, Sami
CC:
chromium-reviews, blink-reviews, alex clarke (OOO till 29th), Sami, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[blink] Support moving timers between WebTaskRunners Support moving timers between WebTaskRunners for supporting per-frame queues in use cases when objects (e.g. WebMediaPlayer) move between frames. R=haraken@chromium.org CC=alexclarke@chromium.org,skyostil@chromium.org BUG=624696 Committed: https://crrev.com/3941bd7f8f4e92357151d25d4bf52584d783707e Cr-Commit-Position: refs/heads/master@{#437258}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -0 lines) Patch
M third_party/WebKit/Source/platform/Timer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/Timer.cpp View 1 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/TimerTest.cpp View 1 chunk +99 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
altimin
PTAL
4 years ago (2016-12-07 15:57:48 UTC) #1
Sami
lgtm with a suggestion. https://codereview.chromium.org/2556053004/diff/1/third_party/WebKit/Source/platform/Timer.cpp File third_party/WebKit/Source/platform/Timer.cpp (right): https://codereview.chromium.org/2556053004/diff/1/third_party/WebKit/Source/platform/Timer.cpp#newcode93 third_party/WebKit/Source/platform/Timer.cpp:93: TRACE_EVENT0("blink", "TimerBase::moveToNewTaskRunner"); Might want to ...
4 years ago (2016-12-07 18:58:13 UTC) #3
dcheng
drive-by https://codereview.chromium.org/2556053004/diff/1/third_party/WebKit/Source/platform/Timer.cpp File third_party/WebKit/Source/platform/Timer.cpp (right): https://codereview.chromium.org/2556053004/diff/1/third_party/WebKit/Source/platform/Timer.cpp#newcode97 third_party/WebKit/Source/platform/Timer.cpp:97: m_webTaskRunner = std::unique_ptr<WebTaskRunner>(taskRunner->clone()); Nit: clone() already returns a ...
4 years ago (2016-12-07 18:59:57 UTC) #4
haraken
LGTM https://codereview.chromium.org/2556053004/diff/1/third_party/WebKit/Source/platform/Timer.cpp File third_party/WebKit/Source/platform/Timer.cpp (right): https://codereview.chromium.org/2556053004/diff/1/third_party/WebKit/Source/platform/Timer.cpp#newcode93 third_party/WebKit/Source/platform/Timer.cpp:93: TRACE_EVENT0("blink", "TimerBase::moveToNewTaskRunner"); Do you really want to have ...
4 years ago (2016-12-08 01:37:20 UTC) #5
altimin
Thanks for the review. https://codereview.chromium.org/2556053004/diff/1/third_party/WebKit/Source/platform/Timer.cpp File third_party/WebKit/Source/platform/Timer.cpp (right): https://codereview.chromium.org/2556053004/diff/1/third_party/WebKit/Source/platform/Timer.cpp#newcode93 third_party/WebKit/Source/platform/Timer.cpp:93: TRACE_EVENT0("blink", "TimerBase::moveToNewTaskRunner"); On 2016/12/08 01:37:20, ...
4 years ago (2016-12-08 14:14:38 UTC) #6
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/2556053004/20001
4 years ago (2016-12-08 14:15:05 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-08 16:19:25 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-08 16:22:32 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3941bd7f8f4e92357151d25d4bf52584d783707e
Cr-Commit-Position: refs/heads/master@{#437258}

Powered by Google App Engine
This is Rietveld 408576698