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

Issue 2141873002: Add helper functions to get per-frame task runners (Closed)

Created:
4 years, 5 months ago by haraken
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews-html_chromium.org, ajuma+watch-canvas_chromium.org, sof, eae+blinkwatch, Justin Novosad, blink-reviews-dom_chromium.org, dglazkov+blink, Rik, dshwang, blink-reviews, kinuko+watch, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add helper functions to get per-frame task runners This CL introduces TaskRunnerHelper that collects helper functions to get task runners. This CL removes code to look up task runners of m_importsController and m_contextDocument (I don't think it's needed; we can just fall back to the default task runner when document->frame() is not available). BUG=624689 Committed: https://crrev.com/453e03e72d02fb698ba2eee8550245928a8ab3a5 Cr-Commit-Position: refs/heads/master@{#404946}

Patch Set 1 #

Patch Set 2 : temp #

Patch Set 3 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -43 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 4 chunks +3 lines, -35 lines 0 comments Download
A third_party/WebKit/Source/core/dom/TaskRunnerHelper.h View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp View 1 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
haraken
PTAL The goal is to replace all Platform::current()->current/mainThread()->(scheduler()->)... things in the code base with the ...
4 years, 5 months ago (2016-07-12 06:06:51 UTC) #2
alex clarke (OOO till 29th)
I'd be tempted to organize the helpers in a class (as static members) but otherwise ...
4 years, 5 months ago (2016-07-12 09:10:30 UTC) #3
haraken
On 2016/07/12 09:10:30, alex clarke wrote: > I'd be tempted to organize the helpers in ...
4 years, 5 months ago (2016-07-12 10:40:28 UTC) #5
alex clarke (OOO till 29th)
I think this patch is missing the new files :)
4 years, 5 months ago (2016-07-12 12:34:07 UTC) #6
haraken
On 2016/07/12 12:34:07, alex clarke wrote: > I think this patch is missing the new ...
4 years, 5 months ago (2016-07-12 13:42:57 UTC) #7
alex clarke (OOO till 29th)
Non-owner LGTM
4 years, 5 months ago (2016-07-12 13:44:16 UTC) #8
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/2141873002/40001
4 years, 5 months ago (2016-07-13 00:07:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years, 5 months ago (2016-07-13 02:16:44 UTC) #12
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/2141873002/40001
4 years, 5 months ago (2016-07-13 02:22:17 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-13 03:16:22 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 03:18:45 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/453e03e72d02fb698ba2eee8550245928a8ab3a5
Cr-Commit-Position: refs/heads/master@{#404946}

Powered by Google App Engine
This is Rietveld 408576698