Move parseDeclaration() and clear() to MutableStylePropertySet.
<http://webkit.org/b/114583>

Reviewed by Anders Carlsson.

...and remove ASSERT(isMutable()) from the function bodies.

* svg/SVGFontFaceElement.cpp:
(WebCore::SVGFontFaceElement::removedFrom):

    Use clear() directly instead of taking an empty string through the CSS parser.

* css/StylePropertySet.cpp:
(WebCore::MutableStylePropertySet::parseDeclaration):
(WebCore::MutableStylePropertySet::clear):
* css/StylePropertySet.h:
(StylePropertySet):
(MutableStylePropertySet):
* dom/StyledElement.cpp:
(WebCore::StyledElement::setInlineStyleFromString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148397 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5 files changed