Ignore:
Timestamp:
Sep 16, 2013, 9:24:22 AM (12 years ago)
Author:
Brent Fulgham
Message:

Unreviewed warning correction.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseFilter): Don't use 'value' as the input argument
to the method, and the internal loop variable for the parser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/css/CSSParser.cpp

    r155536 r155870  
    93359335}
    93369336
    9337 bool CSSParser::parseFilter(CSSParserValueList* valueList, RefPtr<CSSValue>& value)
     9337bool CSSParser::parseFilter(CSSParserValueList* valueList, RefPtr<CSSValue>& result)
    93389338{
    93399339    if (!valueList)
     
    93429342    // The filter is a list of functional primitives that specify individual operations.
    93439343    RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
    9344     for (CSSParserValue* value = valueList->current(); value; value = valueList->next()) {
     9344    for (auto value = valueList->current(); value; value = valueList->next()) {
    93459345        if (value->unit != CSSPrimitiveValue::CSS_URI && (value->unit != CSSParserValue::Function || !value->function))
    93469346            return false;
     
    93899389    }
    93909390
    9391     value = list;
     9391    result = list;
    93929392
    93939393    return true;
Note: See TracChangeset for help on using the changeset viewer.