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

Issue 690703002: WebThreadImplForMessageLoop to use blink scheduler (Closed)

Created:
6 years, 1 month ago by alex clarke (OOO till 29th)
Modified:
6 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, rmcilroy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Hook the WebThreadImplForMessageLoop up to post taks through the blink scheduler. Also routes the blink timers though the scheduler. BUG=391005 Committed: https://crrev.com/83a9d24050d94dc3f334ffc13fc43918055fefc9 Cr-Commit-Position: refs/heads/master@{#303463}

Patch Set 1 #

Patch Set 2 : Change the hookup #

Patch Set 3 : Simplification #

Total comments: 4

Patch Set 4 : Responding to Sami's comments #

Total comments: 6

Patch Set 5 : Responding to Sami #

Patch Set 6 : Rebased + merged in the blink timer hookup #

Patch Set 7 : Added a TODO, removed stray whitespace #

Total comments: 6

Patch Set 8 : Moved timer hookup to base class #

Patch Set 9 : Moved the blink thread hookup into the baseclass #

Total comments: 6

Patch Set 10 : Made the timer protected again #

Patch Set 11 : Adding a null check for Sami #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -22 lines) Patch
M content/child/blink_platform_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -1 line 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +32 lines, -6 lines 0 comments Download
M content/child/webthread_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/child/webthread_impl.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 26 (4 generated)
alex clarke (OOO till 29th)
6 years, 1 month ago (2014-11-04 01:34:37 UTC) #2
Sami
https://codereview.chromium.org/690703002/diff/40001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/40001/content/child/blink_platform_impl.cc#newcode420 content/child/blink_platform_impl.cc:420: BlinkPlatformImpl::BlinkPlatformImpl() Could we make main_thread_task_runner a parameter here? This ...
6 years, 1 month ago (2014-11-04 01:59:02 UTC) #3
alex clarke (OOO till 29th)
https://codereview.chromium.org/690703002/diff/40001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/40001/content/child/blink_platform_impl.cc#newcode420 content/child/blink_platform_impl.cc:420: BlinkPlatformImpl::BlinkPlatformImpl() On 2014/11/04 01:59:01, Sami wrote: > Could we ...
6 years, 1 month ago (2014-11-04 18:40:21 UTC) #4
Sami
https://codereview.chromium.org/690703002/diff/60001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/60001/content/child/blink_platform_impl.cc#newcode430 content/child/blink_platform_impl.cc:430: BlinkPlatformImpl::BlinkPlatformImpl( Delegated constructors still blocked it looks like: https://codereview.chromium.org/695683002/ ...
6 years, 1 month ago (2014-11-06 00:22:59 UTC) #5
alex clarke (OOO till 29th)
https://codereview.chromium.org/690703002/diff/60001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/60001/content/child/blink_platform_impl.cc#newcode430 content/child/blink_platform_impl.cc:430: BlinkPlatformImpl::BlinkPlatformImpl( On 2014/11/06 00:22:59, Sami wrote: > Delegated constructors ...
6 years, 1 month ago (2014-11-06 00:40:49 UTC) #6
Sami
https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc#newcode261 content/renderer/renderer_blink_platform_impl.cc:261: shared_timer_.SetTaskRunner(main_thread_task_runner_); Couldn't we do this in the base class ...
6 years, 1 month ago (2014-11-06 22:20:45 UTC) #7
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc#newcode261 content/renderer/renderer_blink_platform_impl.cc:261: shared_timer_.SetTaskRunner(main_thread_task_runner_); On 2014/11/06 22:20:44, Sami wrote: > Couldn't ...
6 years, 1 month ago (2014-11-06 22:28:34 UTC) #8
rmcilroy
https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc#newcode233 content/renderer/renderer_blink_platform_impl.cc:233: : BlinkPlatformImpl(main_thread_task_runner), Could we only have a renderer_scheduler as ...
6 years, 1 month ago (2014-11-06 22:31:20 UTC) #10
Sami
https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc#newcode233 content/renderer/renderer_blink_platform_impl.cc:233: : BlinkPlatformImpl(main_thread_task_runner), On 2014/11/06 22:31:20, rmcilroy wrote: > Could ...
6 years, 1 month ago (2014-11-06 22:39:35 UTC) #11
alex clarke (OOO till 29th)
https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/120001/content/renderer/renderer_blink_platform_impl.cc#newcode233 content/renderer/renderer_blink_platform_impl.cc:233: : BlinkPlatformImpl(main_thread_task_runner), On 2014/11/06 22:31:20, rmcilroy wrote: > Could ...
6 years, 1 month ago (2014-11-06 22:54:37 UTC) #12
Sami
https://codereview.chromium.org/690703002/diff/160001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/160001/content/child/blink_platform_impl.cc#newcode452 content/child/blink_platform_impl.cc:452: shared_timer_.SetTaskRunner(main_thread_task_runner_); Do we need to check that the runner ...
6 years, 1 month ago (2014-11-07 05:26:25 UTC) #13
alex clarke (OOO till 29th)
https://codereview.chromium.org/690703002/diff/160001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/160001/content/child/blink_platform_impl.cc#newcode452 content/child/blink_platform_impl.cc:452: shared_timer_.SetTaskRunner(main_thread_task_runner_); On 2014/11/07 05:26:25, Sami wrote: > Do we ...
6 years, 1 month ago (2014-11-07 15:19:16 UTC) #14
Sami
https://codereview.chromium.org/690703002/diff/160001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/160001/content/child/blink_platform_impl.cc#newcode452 content/child/blink_platform_impl.cc:452: shared_timer_.SetTaskRunner(main_thread_task_runner_); On 2014/11/07 15:19:16, alexclarke1 wrote: > On 2014/11/07 ...
6 years, 1 month ago (2014-11-07 18:48:34 UTC) #15
alex clarke (OOO till 29th)
https://codereview.chromium.org/690703002/diff/160001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/690703002/diff/160001/content/child/blink_platform_impl.cc#newcode452 content/child/blink_platform_impl.cc:452: shared_timer_.SetTaskRunner(main_thread_task_runner_); On 2014/11/07 18:48:33, Sami wrote: > On 2014/11/07 ...
6 years, 1 month ago (2014-11-07 19:18:57 UTC) #16
Sami
Thank you, lgtm!
6 years, 1 month ago (2014-11-07 19:19:54 UTC) #17
alex clarke (OOO till 29th)
+ jochen@ Can you please review this patch? Thanks! Alex Clarke
6 years, 1 month ago (2014-11-07 20:21:15 UTC) #19
jochen (gone - plz use gerrit)
will look at it eventually, btw, did you see https://codereview.chromium.org/507873003
6 years, 1 month ago (2014-11-09 22:39:44 UTC) #20
alex clarke (OOO till 29th)
On 2014/11/09 22:39:44, jochen (OOO) wrote: > will look at it eventually, btw, did you ...
6 years, 1 month ago (2014-11-10 10:32:42 UTC) #21
jochen (gone - plz use gerrit)
lgtm
6 years, 1 month ago (2014-11-10 13:49:04 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690703002/200001
6 years, 1 month ago (2014-11-10 13:51:24 UTC) #24
commit-bot: I haz the power
Committed patchset #11 (id:200001)
6 years, 1 month ago (2014-11-10 14:53:45 UTC) #25
commit-bot: I haz the power
6 years, 1 month ago (2014-11-10 14:54:20 UTC) #26
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/83a9d24050d94dc3f334ffc13fc43918055fefc9
Cr-Commit-Position: refs/heads/master@{#303463}

Powered by Google App Engine
This is Rietveld 408576698