Skip to content
  • adamk@chromium.org's avatar
    Remove unused ExceptionCode& argument from Element::setAttribute(QualifiedName) · 3e1e12b9
    adamk@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=74740
    
    Reviewed by Ryosuke Niwa.
    
    Updated lots of callers to remove third argument. The list of changes
    below only lists things other than updating callers.
    
    * dom/Document.cpp:
    (WebCore::Document::importNode):
    * dom/Element.cpp:
    (WebCore::Element::setAttribute):
    (WebCore::Element::setAttributeNS):
    (WebCore::Element::setIntegralAttribute):
    (WebCore::Element::setUnsignedIntegralAttribute):
    * dom/Element.h: Removed third arg from method, removed old two-arg
    overload which now has an identical signature.
    * editing/mac/EditorMac.mm: Updated caller and used
    ASSERT_NO_EXCEPTION for nearby code.
    (WebCore::styleForSelectionStart):
    * html/HTMLElement.cpp:
    (WebCore::HTMLElement::setContentEditable):
    * inspector/InspectorDOMAgent.cpp:
    (WebCore::InspectorDOMAgent::setAttributesAsText):
    * svg/SVGAnimationElement.cpp:
    (WebCore::SVGAnimationElement::setTargetAttributeAnimatedValue):
    * svg/SVGElement.idl: Removed 'setter raises(DOMException)'
    * svg/SVGGlyphRefElement.idl: ditto.
    * svg/SVGStyleElement.cpp:
    (WebCore::SVGStyleElement::setType):
    (WebCore::SVGStyleElement::setMedia):
    (WebCore::SVGStyleElement::setTitle):
    * xml/parser/XMLTreeBuilder.cpp:
    (WebCore::XMLTreeBuilder::processAttributes):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3e1e12b9