Skip to content
  • gyuyoung.kim@samsung.com's avatar
    Clean up static_cast<HTMLFoo*> usage · 38523d91
    gyuyoung.kim@samsung.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124480
    
    Reviewed by Tim Horton.
    
    Though there are toHTMLFoo(), some places are still using static_cast<>.
    Additionally, toHTMLBodyElement() is supported from now.
    
    No new tests, no behavior changes.
    
    * accessibility/AccessibilityNodeObject.cpp:
    (WebCore::AccessibilityNodeObject::isRequired):
    * accessibility/AccessibilityTable.cpp:
    (WebCore::AccessibilityTable::isDataTable):
    * bindings/js/JSHTMLFrameSetElementCustom.cpp:
    (WebCore::JSHTMLFrameSetElement::nameGetter):
    * bindings/js/JSPluginElementFunctions.cpp:
    (WebCore::pluginInstance):
    * dom/Document.cpp:
    (WebCore::Document::openSearchDescriptionURL):
    (WebCore::Document::iconURLs):
    * dom/DocumentStyleSheetCollection.cpp:
    (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets):
    * editing/ReplaceSelectionCommand.cpp:
    (WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
    * editing/ios/EditorIOS.mm:
    (WebCore::Editor::setTextAlignmentForChangedBaseWritingDirection):
    * html/HTMLBodyElement.h:
    * html/HTMLDocument.cpp:
    (WebCore::HTMLDocument::bgColor):
    (WebCore::HTMLDocument::setBgColor):
    (WebCore::HTMLDocument::fgColor):
    (WebCore::HTMLDocument::setFgColor):
    (WebCore::HTMLDocument::alinkColor):
    (WebCore::HTMLDocument::setAlinkColor):
    (WebCore::HTMLDocument::linkColor):
    (WebCore::HTMLDocument::setLinkColor):
    (WebCore::HTMLDocument::vlinkColor):
    (WebCore::HTMLDocument::setVlinkColor):
    * html/HTMLEmbedElement.cpp:
    (WebCore::HTMLEmbedElement::rendererIsNeeded):
    * html/HTMLFormControlElement.cpp:
    (WebCore::HTMLFormControlElement::updateAncestorDisabledState):
    (WebCore::HTMLFormControlElement::enclosingFormControlElement):
    * html/HTMLFormElement.cpp:
    (WebCore::submitElementFromEvent):
    * html/HTMLImageLoader.cpp:
    (WebCore::HTMLImageLoader::notifyFinished):
    * html/HTMLLegendElement.cpp:
    (WebCore::HTMLLegendElement::virtualForm):
    * html/RadioNodeList.cpp:
    (WebCore::RadioNodeList::checkElementMatchesRadioNodeListFilter):
    * inspector/InspectorDOMAgent.cpp:
    (WebCore::InspectorDOMAgent::buildObjectForNode):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    38523d91