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

Issue 390183005: Avoid crash in FontFallbackList when LastResortFallbackFont is null (Closed)

Created:
6 years, 5 months ago by Kunihiko Sakamoto
Modified:
6 years, 5 months ago
Reviewers:
eae
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis, scottmg
Project:
blink
Visibility:
Public.

Description

Avoid crash in FontFallbackList when LastResortFallbackFont is null Blink r176963 made FontFallbackList::determinePrimarySimpleFontData crash when getLastResortFallbackFont() returns null, but callers may be able to handle a NULL return (see also http://crbug.com/383542#c23). This patch lets determinePrimarySimpleFontData() propagate NULL returns to the callers. BUG=389536, 390272, 390284 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178302

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M Source/platform/fonts/FontFallbackList.cpp View 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Kunihiko Sakamoto
6 years, 5 months ago (2014-07-15 02:56:43 UTC) #1
eae
LGTM
6 years, 5 months ago (2014-07-16 12:40:35 UTC) #2
Kunihiko Sakamoto
The CQ bit was checked by ksakamoto@chromium.org
6 years, 5 months ago (2014-07-17 00:13:45 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ksakamoto@chromium.org/390183005/1
6 years, 5 months ago (2014-07-17 00:15:16 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 00:18:50 UTC) #5
Message was sent while issue was closed.
Change committed as 178302

Powered by Google App Engine
This is Rietveld 408576698