-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=75221 Reviewed by Daniel Bates. * css/CSSFontFaceSource.cpp: (WebCore::CSSFontFaceSource::getFontData): Use add instead of get/set to read and then later fill a cache. Use new version of registerCustomFont that takes PassOwnPtr. * css/CSSSegmentedFontFace.cpp: (WebCore::CSSSegmentedFontFace::getFontData): Ditto. * dom/Document.cpp: (WebCore::Document::registerCustomFont): Take a PassOwnPtr instead of raw pointer. * dom/Document.h: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c5451503