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

Issue 2553173003: Move WebMediaPlayer to frame loading queue. (Closed)

Created:
4 years ago by altimin
Modified:
4 years ago
Reviewers:
haraken, DaleCurtis
CC:
alex clarke (OOO till 29th), apacible+watch_chromium.org, blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, feature-media-reviews_chromium.org, miu+watch_chromium.org, rwlbuis, sof, Sami, xjz+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose per-frame task runners in WebLocalFrame. Per blink per-frame task queues effort, expose task runners in WebLocalFrame to be able to post tasks to appropriate frame-specific queues from outside blink. This patch also makes WebMediaPlayer post tasks to frame loading queue instead of renderer default queue. R=haraken@chromium.org,dalecurtis@chromium.org CC=alexclarke@chromium.org,skyostil@chromium.org BUG=624696 Committed: https://crrev.com/bf328384d2995fc20693e606522db157897e2b20 Cr-Commit-Position: refs/heads/master@{#436945}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Expose task runners in WebLocalFrame #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M media/blink/webmediaplayer_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 chunks +22 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
altimin
PTAL
4 years ago (2016-12-06 19:27:40 UTC) #2
DaleCurtis
Hmm, will this work? Is this a separate thread? WMPI is not thread safe, so ...
4 years ago (2016-12-06 20:11:05 UTC) #6
altimin
On 2016/12/06 20:11:05, DaleCurtis wrote: > Hmm, will this work? Is this a separate thread? ...
4 years ago (2016-12-06 22:28:38 UTC) #7
DaleCurtis
lgtm Seems okay then; presumably ordering is still guaranteed.
4 years ago (2016-12-06 22:29:59 UTC) #8
haraken
https://codereview.chromium.org/2553173003/diff/1/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/2553173003/diff/1/media/blink/webmediaplayer_impl.cc#newcode193 media/blink/webmediaplayer_impl.cc:193: blink::TaskRunnerHelper::get(blink::TaskType::Media, frame)), How can media/blink access TaskRunnerHelper? https://codereview.chromium.org/2553173003/diff/1/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h File ...
4 years ago (2016-12-07 00:19:26 UTC) #9
altimin
PTAL https://codereview.chromium.org/2553173003/diff/1/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/2553173003/diff/1/media/blink/webmediaplayer_impl.cc#newcode193 media/blink/webmediaplayer_impl.cc:193: blink::TaskRunnerHelper::get(blink::TaskType::Media, frame)), On 2016/12/07 00:19:26, haraken wrote: > ...
4 years ago (2016-12-07 12:10:56 UTC) #11
haraken
LGTM
4 years ago (2016-12-07 12:18:24 UTC) #14
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/2553173003/20001
4 years ago (2016-12-07 14:24:51 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-07 14:29:03 UTC) #22
commit-bot: I haz the power
4 years ago (2016-12-07 14:32:06 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bf328384d2995fc20693e606522db157897e2b20
Cr-Commit-Position: refs/heads/master@{#436945}

Powered by Google App Engine
This is Rietveld 408576698