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

Issue 1052103004: Make test proxy Platform objects provide currentThread(). (Closed)

Created:
5 years, 8 months ago by sof
Modified:
5 years, 7 months ago
CC:
blink-reviews, tyoshino+watch_chromium.org, shans, rjwright, Nate Chapin, Mike Lawther (Google), blink-reviews-animation_chromium.org, dstockwell, Timothy Loh, gavinp+loader_chromium.org, darktears, Steve Block, Eric Willigers
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make test proxy Platform objects provide currentThread(). For the benefit of the Oilpan GC and it needing to post tasks, have these two test Platform objects provide a delegating currentThread() implementation. R=haraken,skyostil BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195923

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove redundant null check #

Patch Set 3 : Code formatting only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -14 lines) Patch
M Source/core/animation/CompositorAnimationsTestHelper.h View 1 2 3 chunks +12 lines, -9 lines 0 comments Download
M Source/core/fetch/CachingCorrectnessTest.cpp View 1 2 3 chunks +12 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
sof
Please take a look.
5 years, 8 months ago (2015-04-24 10:31:24 UTC) #2
loyso (OOO)
On 2015/04/24 10:31:24, sof wrote: > Please take a look. Looks very good.
5 years, 8 months ago (2015-04-27 00:26:40 UTC) #3
haraken
(I want to defer this review to threading experts.)
5 years, 8 months ago (2015-04-27 00:57:13 UTC) #4
sof
On 2015/04/27 00:57:13, haraken wrote: > (I want to defer this review to threading experts.) ...
5 years, 8 months ago (2015-04-28 08:10:15 UTC) #5
sof
+ some thread/platform champions :) -- does extending these test blink::Platform implementations with a delegating ...
5 years, 7 months ago (2015-05-19 06:21:17 UTC) #7
Sami
On 2015/05/19 06:21:17, sof wrote: > + some thread/platform champions :) -- does extending these ...
5 years, 7 months ago (2015-05-19 10:41:44 UTC) #8
Sami
https://codereview.chromium.org/1052103004/diff/1/Source/core/animation/CompositorAnimationsTestHelper.h File Source/core/animation/CompositorAnimationsTestHelper.h (right): https://codereview.chromium.org/1052103004/diff/1/Source/core/animation/CompositorAnimationsTestHelper.h#newcode165 Source/core/animation/CompositorAnimationsTestHelper.h:165: if (m_platform) Will this ever be null?
5 years, 7 months ago (2015-05-19 10:41:51 UTC) #9
sof
thanks, tidied this CL, but i'll let https://codereview.chromium.org/1134523002/ take care of landing the changes here. ...
5 years, 7 months ago (2015-05-19 16:12:07 UTC) #10
Sami
Great, non-owner lgtm.
5 years, 7 months ago (2015-05-20 15:23:27 UTC) #11
haraken
LGTM
5 years, 7 months ago (2015-05-20 22:57:40 UTC) #12
sof
The keenly awaited https://codereview.chromium.org/1134523002/ , which includes the changes herein, is taking a bit longer ...
5 years, 7 months ago (2015-05-26 21:26:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1052103004/40001
5 years, 7 months ago (2015-05-26 21:27:17 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=195923
5 years, 7 months ago (2015-05-26 21:31:40 UTC) #17
Sami
5 years, 7 months ago (2015-05-27 11:18:56 UTC) #18
Message was sent while issue was closed.
On 2015/05/26 21:26:35, sof wrote:
> The keenly awaited https://codereview.chromium.org/1134523002/ , which
includes
> the changes herein, is taking a bit longer to land.
> 
> As webkit unit tests have started to fail due to a lack currentThread() in
> animation tests wanting to schedule a GC,
> 
> 
>
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Oilpan%...
> 
> I'm going to go ahead and land this CL so as to address. My apologies for the
> extra rebase most likely required on
https://codereview.chromium.org/1134523002/
> as a result.

No worries -- thanks for the heads-up!

Powered by Google App Engine
This is Rietveld 408576698