Closed Bug 469752 Opened 16 years ago Closed 16 years ago

"ASSERTION: Whoever was caching this font group should have called UpdateFontList on it" with @font-face, src:local()

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Assigned: karlt)

References

Details

(Keywords: assertion, testcase, verified1.9.1)

Attachments

(2 files)

Attached file testcase (deleted) —
###!!! ASSERTION: Whoever was caching this font group should have called UpdateFontList on it: '!mUserFontSet || mCurrGeneration == GetGeneration()', file ../../../dist/include/thebes/gfxAtsuiFonts.h, line 142
I'm thinking that gfxUserFontSet::mGeneration does not need to be incremented after LookupLocalFont.  AFAICT there's nothing asynchronous here (ignoring bug 465463, that is), so there's no generation used before the LookupLocalFont.
Assignee: nobody → mozbugz
Blocks: 468218
Depends on: 465648, 465463
Attachment #354086 - Flags: review?(jdaggett)
Comment on attachment 354086 [details] [diff] [review]
don't increment generation after LookupLocalFont

Because local fonts are created when looked up, their creation doesn't affect the lookup behavior of a font group, so there's no need to bump the generation number.
Attachment #354086 - Flags: review?(jdaggett) → review+
Attachment #354086 - Flags: approval1.9.1?
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment on attachment 354086 [details] [diff] [review]
don't increment generation after LookupLocalFont

a191=beltzner
Attachment #354086 - Flags: approval1.9.1? → approval1.9.1+
Depends on: 479152
verified FIXED on debug builds:


Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090608 Shiretoko/3.5pre ID:20090608122057

and

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090608 Minefield/3.6a1pre ID:20090608122028
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: