[Webkit-unassigned] [Bug 10908] Don't crash in Gdk's ~FontPlatformData

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Sep 19 00:47:56 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10908


kkowalczyk at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10613|0                           |1
        is obsolete|                            |
  Attachment #10639|                            |review?
               Flag|                            |




------- Comment #3 from kkowalczyk at gmail.com  2006-09-19 00:47 PDT -------
Created an attachment (id=10639)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=10639&action=view)
updated patch

1. Honestly, I didn't see any tabs in my previous patch. This one shouldn't
have them either.

2. Setting to -1 isn't nice but apparently someone thought it's a good idea.
Mac's version does the same:

    FontPlatformData(Deleted)
    : font((NSFont*)-1), syntheticBold(false), syntheticOblique(false)
    {}

I don't understand this trick with Deleted, I'm just trying to prevent a crash
if this path is taken.

3. Also updated FrameGdk to add latest additions.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list