Reviewed by Oliver Hunt.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jan 2008 08:04:16 +0000 (08:04 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jan 2008 08:04:16 +0000 (08:04 +0000)
commit1c0bb304fbf575d8faa7b0448b59a32ed59ca218
tree8cc494b8f2dcf177e76ba1bd048e0d4f9bf95ac5
parent92e4d540b42a58d10e8f7a785d795fa80c26f27e
    Reviewed by Oliver Hunt.

        - fix leaks seen on the build bot

        * css/CSSFontSelector.cpp:
        (WebCore::CSSFontSelector::addFontFaceRule): Avoid creating a
        CSSFontFaceSource for SVG font-face elements going into an
        SVGCSSFontFace because it just leaks them. Avoid adding SVG font-
        face elements to a CSSFontFace because it will not work as expected.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/css/CSSFontSelector.cpp