Changeset 115972 in webkit for trunk/Source/WebCore/css/WebKitCSSMatrix.cpp
- Timestamp:
- May 3, 2012, 8:11:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/WebKitCSSMatrix.cpp
r115215 r115972 53 53 void WebKitCSSMatrix::setMatrixValue(const String& string, ExceptionCode& ec) 54 54 { 55 if (string.isEmpty()) 56 return; 57 55 58 RefPtr<StylePropertySet> styleDeclaration = StylePropertySet::create(); 56 59 if (CSSParser::parseValue(styleDeclaration.get(), CSSPropertyWebkitTransform, string, true, CSSStrictMode, 0)) { … … 81 84 // set the matrix 82 85 m_matrix = t; 83 } else if (!string.isEmpty()) // There is something there but parsing failed86 } else // There is something there but parsing failed. 84 87 ec = SYNTAX_ERR; 85 88 }
Note:
See TracChangeset
for help on using the changeset viewer.