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

Issue 1107573003: Oilpan: Add a missing null check for Platform::current() (Closed)

Created:
5 years, 8 months ago by haraken
Modified:
5 years, 6 months ago
CC:
Mads Ager (chromium), blink-reviews, kouhei+heap_chromium.org, oilpan-reviews
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: Add a missing null check for Platform::current() Platform::current() can be null in webkit_unit_tests. BUG=474470

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M Source/platform/heap/ThreadState.cpp View 1 2 chunks +7 lines, -3 lines 1 comment Download

Messages

Total messages: 24 (4 generated)
haraken
PTAL I'll post another fix to avoid Oilpan's GC from getting triggered without allocating any ...
5 years, 8 months ago (2015-04-23 16:46:58 UTC) #2
sof
https://codereview.chromium.org/1107573003/diff/20001/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1107573003/diff/20001/Source/platform/heap/ThreadState.cpp#newcode666 Source/platform/heap/ThreadState.cpp:666: if (Platform::current()) { Platform::current() will exist, but it may ...
5 years, 8 months ago (2015-04-23 18:22:41 UTC) #3
sof
5 years, 8 months ago (2015-04-23 18:22:42 UTC) #4
sof
The tests that fail run with Platform::current() bound to an AnimationCompositorAnimationsTestBase::PlatformProxy instance. I am not ...
5 years, 8 months ago (2015-04-23 21:07:43 UTC) #5
haraken
+dstockwell, +timloh: Do you have any idea on the comment #5?
5 years, 8 months ago (2015-04-24 05:37:31 UTC) #7
dstockwell
+mithro, +loyso, I'd assume the only point of PlatformProxy there is to wire up the ...
5 years, 8 months ago (2015-04-24 05:47:44 UTC) #9
dstockwell
On 2015/04/24 at 05:47:44, dstockwell wrote: > +mithro, +loyso, > > I'd assume the only ...
5 years, 8 months ago (2015-04-24 05:49:04 UTC) #10
sof
On 2015/04/24 05:49:04, dstockwell wrote: > On 2015/04/24 at 05:47:44, dstockwell wrote: > > +mithro, ...
5 years, 8 months ago (2015-04-24 05:54:44 UTC) #11
mithro-old
+skyostil This method is part of the Blink Scheduler. It is for scheduling idle work ...
5 years, 8 months ago (2015-04-24 05:58:18 UTC) #13
loyso (OOO)
Just random note: Sometimes we need non-null Platform::current() to be able to run a code ...
5 years, 8 months ago (2015-04-24 06:11:26 UTC) #14
sof
On 2015/04/24 05:54:44, sof wrote: > On 2015/04/24 05:49:04, dstockwell wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 09:53:31 UTC) #15
haraken
On 2015/04/24 09:53:31, sof wrote: > On 2015/04/24 05:54:44, sof wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 10:11:04 UTC) #16
sof
On 2015/04/24 10:11:04, haraken wrote: > On 2015/04/24 09:53:31, sof wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 10:20:04 UTC) #17
haraken
On 2015/04/24 10:20:04, sof wrote: > On 2015/04/24 10:11:04, haraken wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 10:48:36 UTC) #18
sof
On 2015/04/24 10:48:36, haraken wrote: > On 2015/04/24 10:20:04, sof wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 10:56:26 UTC) #19
haraken
On 2015/04/24 10:56:26, sof wrote: > On 2015/04/24 10:48:36, haraken wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 11:03:27 UTC) #20
sof
On 2015/04/24 11:03:27, haraken wrote: > On 2015/04/24 10:56:26, sof wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 11:07:47 UTC) #21
Sami
On 2015/04/24 11:07:47, sof wrote: > On 2015/04/24 11:03:27, haraken wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 12:34:07 UTC) #22
haraken
On 2015/04/24 12:34:07, Sami wrote: > On 2015/04/24 11:07:47, sof wrote: > > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 12:38:16 UTC) #23
sof
5 years, 7 months ago (2015-04-27 05:19:18 UTC) #24
On 2015/04/24 12:38:16, haraken wrote:
>
...
> 
> Previously we had the Platform::current() check in a bunch of places. As far
as
> I grep, those are gone, so it seems that we no longer need the check.

so this CL can be closed? :)

Powered by Google App Engine
This is Rietveld 408576698