[Webkit-unassigned] [Bug 25760] Font leak in Chromium's Skia backend.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 13 15:24:05 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25760





------- Comment #4 from brettw at chromium.org  2009-05-13 15:24 PDT -------
(From update of attachment 30285)
I believe this is the way it's supposed to work, it's what we do on Windows.

> -            FontPlatformData* fpd =
> -                createFontPlatformData(font.fontDescription(), AtomicString((char*) family));
> -            ret = new SimpleFontData(*fpd);
> +            FontPlatformData* fpd = getCachedFontPlatformData(font.fontDescription(), AtomicString((char*) family), false);
> +            ret = getCachedFontData(fpd);

Is it WebKit style to require static_cast?

Brett


-- 
Configure bugmail: https://bugs.webkit.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