Skip to content
Permalink
Browse files
Reviewed by Oliver Hunt.
        - fix a CSSParserValueList leak seen on the build bot

        * css/CSSParser.cpp:
        (WebCore::BorderImageParseContext::commitBorderImage):



Canonical link: https://commits.webkit.org/27387@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Dan Bernstein committed Jul 2, 2008
1 parent 7c17322 commit 3ee78825117feedaafefec1e33b501500e40390a
Showing 2 changed files with 11 additions and 1 deletion.
@@ -1,3 +1,12 @@
2008-07-01 Dan Bernstein <mitz@apple.com>

Reviewed by Oliver Hunt.

- fix a CSSParserValueList leak seen on the build bot

* css/CSSParser.cpp:
(WebCore::BorderImageParseContext::commitBorderImage):

2008-07-01 Alex Mathews <possessedpenguinbob@gmail.com>

Reviewed by Oliver Hunt.
@@ -3479,9 +3479,10 @@ struct BorderImageParseContext
newList.addValue(*m_borderBottom);
if (m_borderLeft)
newList.addValue(*m_borderLeft);
CSSParserValueList* oldList = p->m_valueList;
p->m_valueList = &newList;
p->parseValue(CSSPropertyBorderWidth, important);
p->m_valueList = 0;
p->m_valueList = oldList;
}

// Make our new border image value now.

0 comments on commit 3ee7882

Please sign in to comment.