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

Issue 878413002: Wire the scheduler up in TestBlinkWebUnitTestSupport (Closed)

Created:
5 years, 11 months ago by alex clarke (OOO till 29th)
Modified:
5 years, 10 months ago
Reviewers:
Sami, no sievers
CC:
chromium-reviews, darin-cc_chromium.org, jam, rmcilroy_google, picksi1, jochen (gone - plz use gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Wire the scheduler up in TestBlinkWebUnitTestSupport This is needed to make the webkit_unit_tests pass when the HTML parseing tasks are posted on the loading task queue. Required for patch https://codereview.chromium.org/876623002 BUG=391005 Committed: https://crrev.com/85df08a96469963c49b0903c40eddb09f4f80d35 Cr-Commit-Position: refs/heads/master@{#314002}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Sami's idea #

Total comments: 2

Patch Set 3 : Fix componant builds #

Patch Set 4 : Fix windows build? #

Patch Set 5 : Use Pass #

Patch Set 6 : Lazily create the WebSchedulerImpl and RendererScheduler if needed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M content/renderer/scheduler/web_scheduler_impl.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/test/test_blink_web_unit_test_support.h View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (11 generated)
alex clarke (OOO till 29th)
Turns out I need to wire the scheduler up in TestBlinkWebUnitTestSupport before I can submit ...
5 years, 11 months ago (2015-01-28 10:42:22 UTC) #2
Sami
https://codereview.chromium.org/878413002/diff/1/content/test/test_blink_web_unit_test_support.h File content/test/test_blink_web_unit_test_support.h (right): https://codereview.chromium.org/878413002/diff/1/content/test/test_blink_web_unit_test_support.h#newcode37 content/test/test_blink_web_unit_test_support.h:37: explicit TestBlinkWebUnitTestSupport(RendererScheduler* renderer_scheduler); Could you make this a scoped_ptr ...
5 years, 10 months ago (2015-01-28 12:16:28 UTC) #3
alex clarke (OOO till 29th)
https://codereview.chromium.org/878413002/diff/1/content/test/test_blink_web_unit_test_support.h File content/test/test_blink_web_unit_test_support.h (right): https://codereview.chromium.org/878413002/diff/1/content/test/test_blink_web_unit_test_support.h#newcode37 content/test/test_blink_web_unit_test_support.h:37: explicit TestBlinkWebUnitTestSupport(RendererScheduler* renderer_scheduler); On 2015/01/28 12:16:27, Sami (OoO) wrote: ...
5 years, 10 months ago (2015-01-28 12:36:09 UTC) #4
Sami
Thanks, non-owner lgtm.
5 years, 10 months ago (2015-01-28 12:45:54 UTC) #5
alex clarke (OOO till 29th)
+sievers@ Jochen looks snowed under with reviews, would you mind taking a look? Thanks!
5 years, 10 months ago (2015-01-28 16:27:44 UTC) #7
no sievers
lgtm https://codereview.chromium.org/878413002/diff/20001/content/test/test_blink_web_unit_test_support.cc File content/test/test_blink_web_unit_test_support.cc (right): https://codereview.chromium.org/878413002/diff/20001/content/test/test_blink_web_unit_test_support.cc#newcode52 content/test/test_blink_web_unit_test_support.cc:52: renderer_scheduler_(renderer_scheduler.release()), nit: drop '.release()', should be able to ...
5 years, 10 months ago (2015-01-28 18:35:23 UTC) #8
alex clarke (OOO till 29th)
https://codereview.chromium.org/878413002/diff/20001/content/test/test_blink_web_unit_test_support.cc File content/test/test_blink_web_unit_test_support.cc (right): https://codereview.chromium.org/878413002/diff/20001/content/test/test_blink_web_unit_test_support.cc#newcode52 content/test/test_blink_web_unit_test_support.cc:52: renderer_scheduler_(renderer_scheduler.release()), On 2015/01/28 18:35:22, sievers wrote: > nit: drop ...
5 years, 10 months ago (2015-01-29 11:29:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878413002/20001
5 years, 10 months ago (2015-01-29 11:30:07 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/18584)
5 years, 10 months ago (2015-01-29 11:49:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878413002/40001
5 years, 10 months ago (2015-01-29 14:32:30 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/5088)
5 years, 10 months ago (2015-01-29 15:18:26 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878413002/60001
5 years, 10 months ago (2015-01-29 15:32:43 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/18639)
5 years, 10 months ago (2015-01-29 15:49:49 UTC) #21
no sievers
On 2015/01/29 11:29:19, alexclarke1 wrote: > https://codereview.chromium.org/878413002/diff/20001/content/test/test_blink_web_unit_test_support.cc > File content/test/test_blink_web_unit_test_support.cc (right): > > https://codereview.chromium.org/878413002/diff/20001/content/test/test_blink_web_unit_test_support.cc#newcode52 > ...
5 years, 10 months ago (2015-01-29 16:25:19 UTC) #22
alex clarke (OOO till 29th)
On 2015/01/29 16:25:19, sievers wrote: > On 2015/01/29 11:29:19, alexclarke1 wrote: > > > https://codereview.chromium.org/878413002/diff/20001/content/test/test_blink_web_unit_test_support.cc ...
5 years, 10 months ago (2015-01-29 18:24:40 UTC) #23
alex clarke (OOO till 29th)
On 2015/01/29 18:24:40, alexclarke1 wrote: > On 2015/01/29 16:25:19, sievers wrote: > > On 2015/01/29 ...
5 years, 10 months ago (2015-01-29 18:25:50 UTC) #24
no sievers
On 2015/01/29 18:24:40, alexclarke1 wrote: > On 2015/01/29 16:25:19, sievers wrote: > > On 2015/01/29 ...
5 years, 10 months ago (2015-01-29 19:09:07 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878413002/80001
5 years, 10 months ago (2015-01-30 14:57:18 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/19934)
5 years, 10 months ago (2015-01-30 15:41:41 UTC) #29
alex clarke (OOO till 29th)
PTAL The TestBlinkWebUnitTestSupport is used in a wide variety of tests and eagerly creating a ...
5 years, 10 months ago (2015-01-30 16:45:31 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878413002/100001
5 years, 10 months ago (2015-01-30 21:14:00 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-01-30 22:03:09 UTC) #33
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 22:04:24 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/85df08a96469963c49b0903c40eddb09f4f80d35
Cr-Commit-Position: refs/heads/master@{#314002}

Powered by Google App Engine
This is Rietveld 408576698