Changeset 34944 in webkit


Ignore:
Timestamp:
Jul 1, 2008 9:28:11 PM (16 years ago)
Author:
mitz@apple.com
Message:

Reviewed by Oliver Hunt.

  • fix a CSSParserValueList leak seen on the build bot
  • css/CSSParser.cpp: (WebCore::BorderImageParseContext::commitBorderImage):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r34942 r34944  
     12008-07-01  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Oliver Hunt.
     4
     5        - fix a CSSParserValueList leak seen on the build bot
     6
     7        * css/CSSParser.cpp:
     8        (WebCore::BorderImageParseContext::commitBorderImage):
     9
    1102008-07-01  Alex Mathews  <possessedpenguinbob@gmail.com>
    211
  • trunk/WebCore/css/CSSParser.cpp

    r34928 r34944  
    34803480            if (m_borderLeft)
    34813481                newList.addValue(*m_borderLeft);
     3482            CSSParserValueList* oldList = p->m_valueList;
    34823483            p->m_valueList = &newList;
    34833484            p->parseValue(CSSPropertyBorderWidth, important);
    3484             p->m_valueList = 0;
     3485            p->m_valueList = oldList;
    34853486        }
    34863487
Note: See TracChangeset for help on using the changeset viewer.