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

Issue 549013002: Gardening: Fix tests failing on Win7(dbg) caused by hitting an assert in FontCache::addSideloadedFo… (Closed)

Created:
6 years, 3 months ago by keishi
Modified:
6 years, 3 months ago
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Project:
blink
Visibility:
Public.

Description

Gardening: Fix tests failing on Win7(dbg) caused by hitting an assert in FontCache::addSideloadedFontForTesting NOTRY=true TBR=arv@chromium.org,tkent@chromium.org BUG=None Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181532

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M Source/platform/fonts/win/FontCacheSkiaWin.cpp View 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 6 (1 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/549013002/1
6 years, 3 months ago (2014-09-08 02:17:40 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1) as 181532
6 years, 3 months ago (2014-09-08 02:18:29 UTC) #3
keishi
6 years, 3 months ago (2014-09-08 02:18:43 UTC) #4
tkent
https://codereview.chromium.org/549013002/diff/1/Source/platform/fonts/win/FontCacheSkiaWin.cpp File Source/platform/fonts/win/FontCacheSkiaWin.cpp (right): https://codereview.chromium.org/549013002/diff/1/Source/platform/fonts/win/FontCacheSkiaWin.cpp#newcode51 Source/platform/fonts/win/FontCacheSkiaWin.cpp:51: if (!typeface) Do you think null typeface is the ...
6 years, 3 months ago (2014-09-08 08:14:52 UTC) #5
keishi
6 years, 3 months ago (2014-09-08 08:19:33 UTC) #6
Message was sent while issue was closed.
On 2014/09/08 08:14:52, tkent wrote:
>
https://codereview.chromium.org/549013002/diff/1/Source/platform/fonts/win/Fo...
> File Source/platform/fonts/win/FontCacheSkiaWin.cpp (right):
> 
>
https://codereview.chromium.org/549013002/diff/1/Source/platform/fonts/win/Fo...
> Source/platform/fonts/win/FontCacheSkiaWin.cpp:51: if (!typeface)
> Do you think null typeface is the culprit of the following assertion?
> 
>     void ref() const {
>         SkASSERT(fRefCnt > 0);

I reverted this because it didn't work.
I thought it was a null typeface but refIfNotNull checks for null so I was
wrong.
It looks like the input from kRegisterFontFiles is probably related so I've
asked scottmg@ for assistance.

Powered by Google App Engine
This is Rietveld 408576698