Changeset 155870 in webkit for trunk/Source/WebCore/css/CSSParser.cpp
- Timestamp:
- Sep 16, 2013, 9:24:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSParser.cpp
r155536 r155870 9335 9335 } 9336 9336 9337 bool CSSParser::parseFilter(CSSParserValueList* valueList, RefPtr<CSSValue>& value)9337 bool CSSParser::parseFilter(CSSParserValueList* valueList, RefPtr<CSSValue>& result) 9338 9338 { 9339 9339 if (!valueList) … … 9342 9342 // The filter is a list of functional primitives that specify individual operations. 9343 9343 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()) { 9345 9345 if (value->unit != CSSPrimitiveValue::CSS_URI && (value->unit != CSSParserValue::Function || !value->function)) 9346 9346 return false; … … 9389 9389 } 9390 9390 9391 value= list;9391 result = list; 9392 9392 9393 9393 return true;
Note:
See TracChangeset
for help on using the changeset viewer.