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

Issue 2723033002: Skip nullptr after copyToVector() from HeapHashSet<WeakMember> (Closed)

Created:
3 years, 9 months ago by kojii
Modified:
3 years, 8 months ago
Reviewers:
haraken, sof
CC:
ajuma+watch_chromium.org, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip nullptr after copyToVector() from HeapHashSet<WeakMember> This patch checks and skips nullptr after copyToVector() from HeapHashSet<WeakMember>. This is a speculative fix. BUG=581698, 689949, 696231 Review-Url: https://codereview.chromium.org/2723033002 Cr-Commit-Position: refs/heads/master@{#453890} Committed: https://chromium.googlesource.com/chromium/src/+/9dc4f6ff6d59eb2c27e3723a61e53f1430a9c192

Patch Set 1 #

Patch Set 2 : Added comments (haraken's nit) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M third_party/WebKit/Source/core/css/CSSFontSelector.cpp View 1 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCache.cpp View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
kojii
PTAL. As per https://codereview.chromium.org/2725813002/#msg14 we prefer this one.
3 years, 9 months ago (2017-03-01 07:32:04 UTC) #5
haraken
LGTM but add a comment why we have the nullptr check.
3 years, 9 months ago (2017-03-01 07:38:51 UTC) #6
sof
lgtm if we prevent GCs during copyToVector()s, GC timings will be altered. This CL allows ...
3 years, 9 months ago (2017-03-01 07:40:08 UTC) #7
kojii
Thank you both for the great support. Let's hope this can give us a better ...
3 years, 9 months ago (2017-03-01 07:48:02 UTC) #11
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/2723033002/20001
3 years, 9 months ago (2017-03-01 08:22:59 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/9dc4f6ff6d59eb2c27e3723a61e53f1430a9c192
3 years, 9 months ago (2017-03-01 09:09:57 UTC) #18
sof
Can we revert this one now?
3 years, 8 months ago (2017-03-28 06:26:26 UTC) #19
kojii
Sorry I forgot, yes, let's do this. Reverting because we have other fixes for the ...
3 years, 8 months ago (2017-03-28 14:30:42 UTC) #20
kojii
3 years, 8 months ago (2017-03-28 14:31:26 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2783483003/ by kojii@chromium.org.

The reason for reverting is: Reverting because we have other fixes for the cause
we suspected. See http://crbug.com/696231 for more details..

Powered by Google App Engine
This is Rietveld 408576698