<https://webkit.org/b/120001> Clean up StyleElement
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Aug 2013 08:56:27 +0000 (08:56 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Aug 2013 08:56:27 +0000 (08:56 +0000)
Reviewed by Andreas Kling.

- Make it non-virtual so we don't use virtual multiple inheritance
- Improve names
- Improve code clarity

* dom/StyleElement.cpp:
(WebCore::StyleElement::StyleElement):
(WebCore::StyleElement::insertedIntoDocument):
(WebCore::StyleElement::clearDocumentData):
(WebCore::StyleElement::childrenChanged):
(WebCore::StyleElement::finishParsingChildren):
(WebCore::StyleElement::createSheetFromTextContents):
(WebCore::isValidCSSContentType):
(WebCore::StyleElement::createSheet):
(WebCore::StyleElement::isLoading):
* dom/StyleElement.h:
(WebCore::StyleElement::setStyleSheetContentType):
(WebCore::StyleElement::setStyleSheetMedia):
* html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::parseAttribute):
* html/HTMLStyleElement.h:
* svg/SVGStyleElement.cpp:
(WebCore::SVGStyleElement::isSupportedAttribute):
(WebCore::SVGStyleElement::parseAttribute):
* svg/SVGStyleElement.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154268 268f45cc-cd09-0410-ab3c-d52691b4dbfc


No differences found