• akling@apple.com's avatar
    <https://webkit.org/b/120115> SVG elements always have custom style resolve callbacks. · 98ebb807
    akling@apple.com authored
    Reviewed by Antti Koivisto.
    Simplify SVGElement construction by making them opt in to custom style resolve callbacks
    by default, and removing the ability to pass a custom ConstructionType to some subclass
    * dom/Node.h:
        Add HasCustomStyleResolveCallbacksFlag to the CreateSVGElement mask.
    * svg/SVGElement.cpp:
    * svg/SVGElement.h:
    * svg/SVGGElement.cpp:
    * svg/SVGGElement.h:
    * svg/SVGGraphicsElement.cpp:
    * svg/SVGGraphicsElement.h:
    * svg/SVGImageElement.cpp:
    * svg/SVGStyledElement.cpp:
    * svg/SVGStyledElement.h:
        Remove calls to setHasCustomStyleResolveCallbacks() in SVGElement and subclasses.
        Also remove unnecessary ConstructionType argument from subclasses since nobody
        overrides it and everyone just uses CreateSVGElement.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 2.12 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.