Changeset 179810 in webkit


Ignore:
Timestamp:
Feb 8, 2015 5:13:35 PM (9 years ago)
Author:
Darin Adler
Message:

Remove the SVG instance tree
https://bugs.webkit.org/show_bug.cgi?id=140602

Reviewed by Dean Jackson.

Source/WebCore:

  • CMakeLists.txt: Removed SVGElementInstance source files.
  • DerivedSources.cpp: Ditto.
  • DerivedSources.make: Ditto.
  • WebCore.vcxproj/WebCore.vcxproj: Ditto.
  • WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • bindings/js/JSBindingsAllInOne.cpp: Ditto.
  • bindings/js/JSEventListener.cpp:

(WebCore::forwardsEventListeners): Deleted. Only returned true for JSSVGElementInstance.
(WebCore::correspondingElementWrapper): Deleted. Only used for JSSVGElementInstance.
(WebCore::createJSEventListenerForAttribute): Deleted. Argument type was JSSVGElementInstance.
(WebCore::createJSEventListenerForAdd): Removed most of the code; later we can delete this entirely.

  • bindings/js/JSEventListener.h: Removed the overload of createJSEventListenerForAttribute

that takes a JSSVGElementInstance.

  • bindings/js/JSSVGElementInstanceCustom.cpp: Removed.
  • dom/ContainerNodeAlgorithms.h: Updated comment to reflect the fact that

this code is really now only used for ContainerNode and no longer needs to
exist in a generic form.

  • dom/EventTarget.h: Removed forward declaration of SVGElementInstance.
  • svg/SVGElement.h: Ditto.
  • dom/EventTargetFactory.in: Removed SVGElementInstance.
  • svg/SVGElementInstance.cpp: Removed.
  • svg/SVGElementInstance.h: Removed.
  • svg/SVGElementInstance.idl: Removed.
  • svg/SVGUseElement.cpp:

(WebCore::SVGUseElement::insertedInto): Removed obsolete comment.
(WebCore::SVGUseElement::instanceTreeIsLoading): Deleted. Unused
function that I forgot to delete in my last patch. It also had a
glaring mistake, a missing "return" before the recursive call to
itself that would cause it to return false when it should return true.

  • svg/SVGUseElement.h: Removed instanceTreeIsLoading.
  • dom/EventDispatcher.cpp: Removed include of SVGElementInstance.h.
  • page/EventHandler.cpp: Ditto.
  • rendering/svg/RenderSVGViewportContainer.cpp: Ditto.
  • svg/SVGAElement.cpp: Ditto.
  • svg/SVGAllInOne.cpp: Ditto.
  • svg/SVGAnimateMotionElement.cpp: Ditto.
  • svg/SVGAnimatedTypeAnimator.h: Ditto.
  • svg/SVGAnimationElement.cpp: Ditto.
  • svg/SVGCircleElement.cpp: Ditto.
  • svg/SVGClipPathElement.cpp: Ditto.
  • svg/SVGComponentTransferFunctionElement.cpp: Ditto.
  • svg/SVGCursorElement.cpp: Ditto.
  • svg/SVGElement.cpp: Ditto.
  • svg/SVGEllipseElement.cpp: Ditto.
  • svg/SVGFEBlendElement.cpp: Ditto.
  • svg/SVGFEColorMatrixElement.cpp: Ditto.
  • svg/SVGFECompositeElement.cpp: Ditto.
  • svg/SVGFEConvolveMatrixElement.cpp: Ditto.
  • svg/SVGFEDiffuseLightingElement.cpp: Ditto.
  • svg/SVGFEDisplacementMapElement.cpp: Ditto.
  • svg/SVGFEDropShadowElement.cpp: Ditto.
  • svg/SVGFEGaussianBlurElement.cpp: Ditto.
  • svg/SVGFEImageElement.cpp: Ditto.
  • svg/SVGFELightElement.cpp: Ditto.
  • svg/SVGFEMergeNodeElement.cpp: Ditto.
  • svg/SVGFEMorphologyElement.cpp: Ditto.
  • svg/SVGFEOffsetElement.cpp: Ditto.
  • svg/SVGFESpecularLightingElement.cpp: Ditto.
  • svg/SVGFETileElement.cpp: Ditto.
  • svg/SVGFETurbulenceElement.cpp: Ditto.
  • svg/SVGFilterElement.cpp: Ditto.
  • svg/SVGFilterPrimitiveStandardAttributes.cpp: Ditto.
  • svg/SVGForeignObjectElement.cpp: Ditto.
  • svg/SVGGElement.cpp: Ditto.
  • svg/SVGGradientElement.cpp: Ditto.
  • svg/SVGGraphicsElement.cpp: Ditto.
  • svg/SVGImageElement.cpp: Ditto.
  • svg/SVGLineElement.cpp: Ditto.
  • svg/SVGLinearGradientElement.cpp: Ditto.
  • svg/SVGMarkerElement.cpp: Ditto.
  • svg/SVGMaskElement.cpp: Ditto.
  • svg/SVGPathElement.cpp: Ditto.
  • svg/SVGPatternElement.cpp: Ditto.
  • svg/SVGPolyElement.cpp: Ditto.
  • svg/SVGRadialGradientElement.cpp: Ditto.
  • svg/SVGRectElement.cpp: Ditto.
  • svg/SVGSVGElement.cpp: Ditto.
  • svg/SVGScriptElement.cpp: Ditto.
  • svg/SVGStopElement.cpp: Ditto.
  • svg/SVGSymbolElement.cpp: Ditto.
  • svg/SVGTRefElement.cpp: Ditto.
  • svg/SVGTextContentElement.cpp: Ditto.
  • svg/SVGTextElement.cpp: Ditto.
  • svg/SVGTextPathElement.cpp: Ditto.
  • svg/SVGTextPositioningElement.cpp: Ditto.

Tools:

  • Scripts/check-for-global-initializers: Removed special case for

SVGElementInstance.o.

LayoutTests:

Last step: Remove SVGElementInstance class itself.

  • js/dom/global-constructors-attributes-expected.txt: Removed SVGElementInstance.
  • platform/efl/js/dom/global-constructors-attributes-expected.txt: Ditto.
  • platform/gtk/js/dom/global-constructors-attributes-expected.txt: Ditto.
  • platform/ios-sim-deprecated/fast/dom/Window/window-property-descriptors-expected.txt: Ditto.
  • platform/ios-sim-deprecated/fast/js/global-constructors-expected.txt: Ditto.
  • platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt: Ditto.
  • platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt: Ditto.
  • platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt: Ditto.
  • platform/mac/js/dom/global-constructors-attributes-expected.txt: Ditto.
  • platform/win/js/dom/global-constructors-attributes-expected.txt: Ditto.
  • svg/custom/global-constructors-expected.txt: Ditto.
  • svg/custom/script-tests/global-constructors.js: Ditto.
  • svg/dom/svg2-inheritance-expected.txt: Ditto.
  • svg/dom/svg2-inheritance.html: Ditto.
Location:
trunk
Files:
4 deleted
88 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r179807 r179810  
     12015-02-08  Darin Adler  <darin@apple.com>
     2
     3        Remove the SVG instance tree
     4        https://bugs.webkit.org/show_bug.cgi?id=140602
     5
     6        Reviewed by Dean Jackson.
     7
     8        Last step: Remove SVGElementInstance class itself.
     9
     10        * js/dom/global-constructors-attributes-expected.txt: Removed SVGElementInstance.
     11        * platform/efl/js/dom/global-constructors-attributes-expected.txt: Ditto.
     12        * platform/gtk/js/dom/global-constructors-attributes-expected.txt: Ditto.
     13        * platform/ios-sim-deprecated/fast/dom/Window/window-property-descriptors-expected.txt: Ditto.
     14        * platform/ios-sim-deprecated/fast/js/global-constructors-expected.txt: Ditto.
     15        * platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt: Ditto.
     16        * platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt: Ditto.
     17        * platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt: Ditto.
     18        * platform/mac/js/dom/global-constructors-attributes-expected.txt: Ditto.
     19        * platform/win/js/dom/global-constructors-attributes-expected.txt: Ditto.
     20        * svg/custom/global-constructors-expected.txt: Ditto.
     21        * svg/custom/script-tests/global-constructors.js: Ditto.
     22        * svg/dom/svg2-inheritance-expected.txt: Ditto.
     23        * svg/dom/svg2-inheritance.html: Ditto.
     24
    1252015-02-08  Darin Adler  <darin@apple.com>
    226
  • trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt

    r179687 r179810  
    11641164PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').enumerable is false
    11651165PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').configurable is true
    1166 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').value is SVGElementInstance
    1167 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('get') is false
    1168 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('set') is false
    1169 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').enumerable is false
    1170 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').configurable is true
    11711166PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').value is SVGEllipseElement
    11721167PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt

    r179687 r179810  
    11641164PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').enumerable is false
    11651165PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').configurable is true
    1166 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').value is SVGElementInstance
    1167 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('get') is false
    1168 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('set') is false
    1169 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').enumerable is false
    1170 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').configurable is true
    11711166PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').value is SVGEllipseElement
    11721167PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt

    r179687 r179810  
    12391239PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').enumerable is false
    12401240PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').configurable is true
    1241 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').value is SVGElementInstance
    1242 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('get') is false
    1243 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('set') is false
    1244 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').enumerable is false
    1245 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').configurable is true
    12461241PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').value is SVGEllipseElement
    12471242PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/window-property-descriptors-expected.txt

    r178715 r179810  
    200200PASS typeof Object.getOwnPropertyDescriptor(window, 'SVGDocument') is 'object'
    201201PASS typeof Object.getOwnPropertyDescriptor(window, 'SVGElement') is 'object'
    202 PASS typeof Object.getOwnPropertyDescriptor(window, 'SVGElementInstance') is 'object'
    203202PASS typeof Object.getOwnPropertyDescriptor(window, 'SVGEllipseElement') is 'object'
    204203PASS typeof Object.getOwnPropertyDescriptor(window, 'SVGException') is 'object'
  • trunk/LayoutTests/platform/ios-sim-deprecated/fast/js/global-constructors-expected.txt

    r178715 r179810  
    187187PASS SVGDocument.toString() is '[object SVGDocumentConstructor]'
    188188PASS SVGElement.toString() is '[object SVGElementConstructor]'
    189 PASS SVGElementInstance.toString() is '[object SVGElementInstanceConstructor]'
    190189PASS SVGEllipseElement.toString() is '[object SVGEllipseElementConstructor]'
    191190PASS SVGException.toString() is '[object SVGExceptionConstructor]'
  • trunk/LayoutTests/platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt

    r179687 r179810  
    11691169PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').enumerable is false
    11701170PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').configurable is true
    1171 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').value is SVGElementInstance
    1172 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('get') is false
    1173 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('set') is false
    1174 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').enumerable is false
    1175 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').configurable is true
    11761171PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').value is SVGEllipseElement
    11771172PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt

    r179687 r179810  
    11691169PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').enumerable is false
    11701170PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').configurable is true
    1171 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').value is SVGElementInstance
    1172 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('get') is false
    1173 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('set') is false
    1174 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').enumerable is false
    1175 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').configurable is true
    11761171PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').value is SVGEllipseElement
    11771172PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt

    r179687 r179810  
    11591159PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').enumerable is false
    11601160PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').configurable is true
    1161 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').value is SVGElementInstance
    1162 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('get') is false
    1163 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('set') is false
    1164 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').enumerable is false
    1165 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').configurable is true
    11661161PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').value is SVGEllipseElement
    11671162PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt

    r179687 r179810  
    11891189PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').enumerable is false
    11901190PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').configurable is true
    1191 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').value is SVGElementInstance
    1192 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('get') is false
    1193 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('set') is false
    1194 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').enumerable is false
    1195 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').configurable is true
    11961191PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').value is SVGEllipseElement
    11971192PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').hasOwnProperty('get') is false
  • trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt

    r179687 r179810  
    10091009PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').enumerable is false
    10101010PASS Object.getOwnPropertyDescriptor(global, 'SVGElement').configurable is true
    1011 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').value is SVGElementInstance
    1012 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('get') is false
    1013 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').hasOwnProperty('set') is false
    1014 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').enumerable is false
    1015 PASS Object.getOwnPropertyDescriptor(global, 'SVGElementInstance').configurable is true
    10161011PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').value is SVGEllipseElement
    10171012PASS Object.getOwnPropertyDescriptor(global, 'SVGEllipseElement').hasOwnProperty('get') is false
  • trunk/LayoutTests/svg/custom/global-constructors-expected.txt

    r178715 r179810  
    4141PASS SVGSymbolElement.toString() is '[object SVGSymbolElementConstructor]'
    4242PASS SVGUseElement.toString() is '[object SVGUseElementConstructor]'
    43 PASS SVGElementInstance.toString() is '[object SVGElementInstanceConstructor]'
    4443PASS SVGImageElement.toString() is '[object SVGImageElementConstructor]'
    4544PASS SVGSwitchElement.toString() is '[object SVGSwitchElementConstructor]'
  • trunk/LayoutTests/svg/custom/script-tests/global-constructors.js

    r178715 r179810  
    4444shouldBeDefined("SVGSymbolElement");
    4545shouldBeDefined("SVGUseElement");
    46 shouldBeDefined("SVGElementInstance");
    4746shouldBeDefined("SVGImageElement");
    4847shouldBeDefined("SVGSwitchElement");
  • trunk/LayoutTests/svg/dom/svg2-inheritance-expected.txt

    r178715 r179810  
    3636PASS SVGDescElement inherits SVGElement
    3737PASS SVGElement inherits Element
    38 FAIL SVGElementInstance should inherit EventTarget but got EventTarget instead
    3938FAIL SVGEllipseElement should inherit SVGGeometryElement but got SVGGraphicsElement instead
    4039PASS SVGFontElement inherits SVGElement
  • trunk/LayoutTests/svg/dom/svg2-inheritance.html

    r178715 r179810  
    6464checkParent("SVGDescElement", "SVGElement");
    6565checkParent("SVGElement", "Element");
    66 checkParent("SVGElementInstance", "EventTarget");
    6766checkParent("SVGEllipseElement", "SVGGeometryElement");
    6867checkParent("SVGFontElement", "SVGElement");
  • trunk/Source/WebCore/CMakeLists.txt

    r179687 r179810  
    668668    svg/SVGDocument.idl
    669669    svg/SVGElement.idl
    670     svg/SVGElementInstance.idl
    671670    svg/SVGEllipseElement.idl
    672671    svg/SVGException.idl
     
    11391138    bindings/js/JSSQLResultSetRowListCustom.cpp
    11401139    bindings/js/JSSQLTransactionCustom.cpp
    1141     bindings/js/JSSVGElementInstanceCustom.cpp
    11421140    bindings/js/JSSVGLengthCustom.cpp
    11431141    bindings/js/JSSVGPathSegCustom.cpp
     
    11461144    bindings/js/JSStyleSheetListCustom.cpp
    11471145    bindings/js/JSSubtleCryptoCustom.cpp
    1148     bindings/js/JSSVGElementInstanceCustom.cpp
    11491146    bindings/js/JSSVGLengthCustom.cpp
    11501147    bindings/js/JSSVGPathSegCustom.cpp
     
    25342531    svg/SVGDocumentExtensions.cpp
    25352532    svg/SVGElement.cpp
    2536     svg/SVGElementInstance.cpp
    25372533    svg/SVGEllipseElement.cpp
    25382534    svg/SVGException.cpp
  • trunk/Source/WebCore/ChangeLog

    r179808 r179810  
     12015-02-08  Darin Adler  <darin@apple.com>
     2
     3        Remove the SVG instance tree
     4        https://bugs.webkit.org/show_bug.cgi?id=140602
     5
     6        Reviewed by Dean Jackson.
     7
     8        * CMakeLists.txt: Removed SVGElementInstance source files.
     9        * DerivedSources.cpp: Ditto.
     10        * DerivedSources.make: Ditto.
     11        * WebCore.vcxproj/WebCore.vcxproj: Ditto.
     12        * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
     13        * WebCore.xcodeproj/project.pbxproj: Ditto.
     14        * bindings/js/JSBindingsAllInOne.cpp: Ditto.
     15
     16        * bindings/js/JSEventListener.cpp:
     17        (WebCore::forwardsEventListeners): Deleted. Only returned true for JSSVGElementInstance.
     18        (WebCore::correspondingElementWrapper): Deleted. Only used for JSSVGElementInstance.
     19        (WebCore::createJSEventListenerForAttribute): Deleted. Argument type was JSSVGElementInstance.
     20        (WebCore::createJSEventListenerForAdd): Removed most of the code; later we can delete this entirely.
     21
     22        * bindings/js/JSEventListener.h: Removed the overload of createJSEventListenerForAttribute
     23        that takes a JSSVGElementInstance.
     24
     25        * bindings/js/JSSVGElementInstanceCustom.cpp: Removed.
     26
     27        * dom/ContainerNodeAlgorithms.h: Updated comment to reflect the fact that
     28        this code is really now only used for ContainerNode and no longer needs to
     29        exist in a generic form.
     30
     31        * dom/EventTarget.h: Removed forward declaration of SVGElementInstance.
     32        * svg/SVGElement.h: Ditto.
     33
     34        * dom/EventTargetFactory.in: Removed SVGElementInstance.
     35
     36        * svg/SVGElementInstance.cpp: Removed.
     37        * svg/SVGElementInstance.h: Removed.
     38        * svg/SVGElementInstance.idl: Removed.
     39
     40        * svg/SVGUseElement.cpp:
     41        (WebCore::SVGUseElement::insertedInto): Removed obsolete comment.
     42        (WebCore::SVGUseElement::instanceTreeIsLoading): Deleted. Unused
     43        function that I forgot to delete in my last patch. It also had a
     44        glaring mistake, a missing "return" before the recursive call to
     45        itself that would cause it to return false when it should return true.
     46
     47        * svg/SVGUseElement.h: Removed instanceTreeIsLoading.
     48
     49        * dom/EventDispatcher.cpp: Removed include of SVGElementInstance.h.
     50        * page/EventHandler.cpp: Ditto.
     51        * rendering/svg/RenderSVGViewportContainer.cpp: Ditto.
     52        * svg/SVGAElement.cpp: Ditto.
     53        * svg/SVGAllInOne.cpp: Ditto.
     54        * svg/SVGAnimateMotionElement.cpp: Ditto.
     55        * svg/SVGAnimatedTypeAnimator.h: Ditto.
     56        * svg/SVGAnimationElement.cpp: Ditto.
     57        * svg/SVGCircleElement.cpp: Ditto.
     58        * svg/SVGClipPathElement.cpp: Ditto.
     59        * svg/SVGComponentTransferFunctionElement.cpp: Ditto.
     60        * svg/SVGCursorElement.cpp: Ditto.
     61        * svg/SVGElement.cpp: Ditto.
     62        * svg/SVGEllipseElement.cpp: Ditto.
     63        * svg/SVGFEBlendElement.cpp: Ditto.
     64        * svg/SVGFEColorMatrixElement.cpp: Ditto.
     65        * svg/SVGFECompositeElement.cpp: Ditto.
     66        * svg/SVGFEConvolveMatrixElement.cpp: Ditto.
     67        * svg/SVGFEDiffuseLightingElement.cpp: Ditto.
     68        * svg/SVGFEDisplacementMapElement.cpp: Ditto.
     69        * svg/SVGFEDropShadowElement.cpp: Ditto.
     70        * svg/SVGFEGaussianBlurElement.cpp: Ditto.
     71        * svg/SVGFEImageElement.cpp: Ditto.
     72        * svg/SVGFELightElement.cpp: Ditto.
     73        * svg/SVGFEMergeNodeElement.cpp: Ditto.
     74        * svg/SVGFEMorphologyElement.cpp: Ditto.
     75        * svg/SVGFEOffsetElement.cpp: Ditto.
     76        * svg/SVGFESpecularLightingElement.cpp: Ditto.
     77        * svg/SVGFETileElement.cpp: Ditto.
     78        * svg/SVGFETurbulenceElement.cpp: Ditto.
     79        * svg/SVGFilterElement.cpp: Ditto.
     80        * svg/SVGFilterPrimitiveStandardAttributes.cpp: Ditto.
     81        * svg/SVGForeignObjectElement.cpp: Ditto.
     82        * svg/SVGGElement.cpp: Ditto.
     83        * svg/SVGGradientElement.cpp: Ditto.
     84        * svg/SVGGraphicsElement.cpp: Ditto.
     85        * svg/SVGImageElement.cpp: Ditto.
     86        * svg/SVGLineElement.cpp: Ditto.
     87        * svg/SVGLinearGradientElement.cpp: Ditto.
     88        * svg/SVGMarkerElement.cpp: Ditto.
     89        * svg/SVGMaskElement.cpp: Ditto.
     90        * svg/SVGPathElement.cpp: Ditto.
     91        * svg/SVGPatternElement.cpp: Ditto.
     92        * svg/SVGPolyElement.cpp: Ditto.
     93        * svg/SVGRadialGradientElement.cpp: Ditto.
     94        * svg/SVGRectElement.cpp: Ditto.
     95        * svg/SVGSVGElement.cpp: Ditto.
     96        * svg/SVGScriptElement.cpp: Ditto.
     97        * svg/SVGStopElement.cpp: Ditto.
     98        * svg/SVGSymbolElement.cpp: Ditto.
     99        * svg/SVGTRefElement.cpp: Ditto.
     100        * svg/SVGTextContentElement.cpp: Ditto.
     101        * svg/SVGTextElement.cpp: Ditto.
     102        * svg/SVGTextPathElement.cpp: Ditto.
     103        * svg/SVGTextPositioningElement.cpp: Ditto.
     104
    11052015-02-07  Dean Jackson  <dino@apple.com>
    2106
  • trunk/Source/WebCore/DerivedSources.cpp

    r179687 r179810  
    361361#include "JSSVGDocument.cpp"
    362362#include "JSSVGElement.cpp"
    363 #include "JSSVGElementInstance.cpp"
    364363#include "JSSVGEllipseElement.cpp"
    365364#include "JSSVGException.cpp"
  • trunk/Source/WebCore/DerivedSources.make

    r179687 r179810  
    562562    $(WebCore)/svg/SVGDocument.idl \
    563563    $(WebCore)/svg/SVGElement.idl \
    564     $(WebCore)/svg/SVGElementInstance.idl \
    565564    $(WebCore)/svg/SVGEllipseElement.idl \
    566565    $(WebCore)/svg/SVGException.idl \
     
    11691168space +=
    11701169
    1171 $(SUPPLEMENTAL_MAKEFILE_DEPS) : $(PREPROCESS_IDLS_SCRIPTS) $(BINDING_IDLS) $(PLATFORM_FEATURE_DEFINES)
     1170$(SUPPLEMENTAL_MAKEFILE_DEPS) : $(PREPROCESS_IDLS_SCRIPTS) $(BINDING_IDLS) $(PLATFORM_FEATURE_DEFINES) DerivedSources.make
    11721171        printf "$(subst $(space),,$(patsubst %,%\n,$(BINDING_IDLS)))" > $(IDL_FILES_TMP)
    11731172        $(call preprocess_idls_script, $(PREPROCESS_IDLS_SCRIPTS)) --defines "$(FEATURE_DEFINES) $(ADDITIONAL_IDL_DEFINES) LANGUAGE_JAVASCRIPT" --idlFilesList $(IDL_FILES_TMP) --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) --windowConstructorsFile $(WINDOW_CONSTRUCTORS_FILE) --workerGlobalScopeConstructorsFile $(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --dedicatedWorkerGlobalScopeConstructorsFile $(DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE) --supplementalMakefileDeps $@
  • trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj

    r179687 r179810  
    46274627      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
    46284628    </ClCompile>
    4629     <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElementInstance.cpp">
    4630       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
    4631       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
    4632       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
    4633       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
    4634       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
    4635       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
    4636       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
    4637       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
    4638       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
    4639       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
    4640       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
    4641       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
    4642     </ClCompile>
    46434629    <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElementWrapperFactory.cpp" />
    46444630    <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGEllipseElement.cpp">
     
    1765617642    </ClCompile>
    1765717643    <ClCompile Include="..\bindings\js\JSStyleSheetListCustom.cpp">
    17658       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
    17659       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
    17660       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
    17661       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
    17662       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
    17663       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
    17664       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
    17665       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
    17666       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
    17667       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
    17668       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
    17669       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
    17670     </ClCompile>
    17671     <ClCompile Include="..\bindings\js\JSSVGElementInstanceCustom.cpp">
    1767217644      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
    1767317645      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
     
    1880318775    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGDocument.h" />
    1880418776    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElement.h" />
    18805     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElementInstance.h" />
    1880618777    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElementWrapperFactory.h" />
    1880718778    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGEllipseElement.h" />
     
    2124921220    <ClInclude Include="..\svg\SVGDocumentExtensions.h" />
    2125021221    <ClInclude Include="..\svg\SVGElement.h" />
    21251     <ClInclude Include="..\svg\SVGElementInstance.h" />
    2125221222    <ClInclude Include="..\svg\SVGElementRareData.h" />
    2125321223    <ClInclude Include="..\svg\SVGEllipseElement.h" />
  • trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters

    r179687 r179810  
    44384438      <Filter>bindings\js</Filter>
    44394439    </ClCompile>
    4440     <ClCompile Include="..\bindings\js\JSSVGElementInstanceCustom.cpp">
    4441       <Filter>bindings\js</Filter>
    4442     </ClCompile>
    44434440    <ClCompile Include="..\bindings\js\JSSVGLengthCustom.cpp">
    44444441      <Filter>bindings\js</Filter>
     
    58355832    </ClCompile>
    58365833    <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElement.cpp">
    5837       <Filter>DerivedSources</Filter>
    5838     </ClCompile>
    5839     <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElementInstance.cpp">
    58405834      <Filter>DerivedSources</Filter>
    58415835    </ClCompile>
     
    1317913173      <Filter>DerivedSources</Filter>
    1318013174    </ClInclude>
    13181     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElementInstance.h">
    13182       <Filter>DerivedSources</Filter>
    13183     </ClInclude>
    1318413175    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSSVGElementWrapperFactory.h">
    1318513176      <Filter>DerivedSources</Filter>
     
    1468014671    </ClInclude>
    1468114672    <ClInclude Include="..\svg\SVGElement.h">
    14682       <Filter>svg</Filter>
    14683     </ClInclude>
    14684     <ClInclude Include="..\svg\SVGElementInstance.h">
    1468514673      <Filter>svg</Filter>
    1468614674    </ClInclude>
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r179687 r179810  
    437437                08A484770E5272C500C3FE76 /* ScriptElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 08A484750E5272C500C3FE76 /* ScriptElement.cpp */; };
    438438                08A484780E5272C500C3FE76 /* ScriptElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A484760E5272C500C3FE76 /* ScriptElement.h */; };
    439                 08A48A6E0E86CF6D00E225DD /* JSSVGElementInstanceCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 08A48A6D0E86CF6D00E225DD /* JSSVGElementInstanceCustom.cpp */; };
    440439                08B35B13127B6A7C005314DD /* SVGAnimatedNumber.h in Headers */ = {isa = PBXBuildFile; fileRef = 08B35B12127B6A7C005314DD /* SVGAnimatedNumber.h */; settings = {ATTRIBUTES = (Private, ); }; };
    441440                08B35B17127B6A88005314DD /* SVGAnimatedNumberList.h in Headers */ = {isa = PBXBuildFile; fileRef = 08B35B16127B6A88005314DD /* SVGAnimatedNumberList.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    44244423                B22279B60D00BF220071B782 /* SVGElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22278200D00BF1F0071B782 /* SVGElement.cpp */; };
    44254424                B22279B70D00BF220071B782 /* SVGElement.h in Headers */ = {isa = PBXBuildFile; fileRef = B22278210D00BF1F0071B782 /* SVGElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
    4426                 B22279B90D00BF220071B782 /* SVGElementInstance.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22278230D00BF1F0071B782 /* SVGElementInstance.cpp */; };
    4427                 B22279BA0D00BF220071B782 /* SVGElementInstance.h in Headers */ = {isa = PBXBuildFile; fileRef = B22278240D00BF1F0071B782 /* SVGElementInstance.h */; };
    44284425                B22279BF0D00BF220071B782 /* SVGEllipseElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22278290D00BF1F0071B782 /* SVGEllipseElement.cpp */; };
    44294426                B22279C00D00BF220071B782 /* SVGEllipseElement.h in Headers */ = {isa = PBXBuildFile; fileRef = B222782A0D00BF1F0071B782 /* SVGEllipseElement.h */; };
     
    47404737                B2C3DA6C0D006CD600EF6F26 /* GlyphBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = B2C3DA5B0D006CD600EF6F26 /* GlyphBuffer.h */; settings = {ATTRIBUTES = (Private, ); }; };
    47414738                B2C96D8D0B3AF2B7005E80EC /* JSSVGPathSegCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2C96D8C0B3AF2B7005E80EC /* JSSVGPathSegCustom.cpp */; };
    4742                 B2CB92420B5BD966009BAA78 /* JSSVGElementInstance.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2CB923B0B5BD941009BAA78 /* JSSVGElementInstance.cpp */; };
    4743                 B2CB92440B5BD970009BAA78 /* JSSVGElementInstance.h in Headers */ = {isa = PBXBuildFile; fileRef = B2CB923C0B5BD941009BAA78 /* JSSVGElementInstance.h */; };
    47444739                B2D3DA640D006CD600EF6F27 /* OpenTypeMathData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2D3DA530D006CD600EF6F27 /* OpenTypeMathData.cpp */; };
    47454740                B2D3DA650D006CD600EF6F27 /* OpenTypeMathData.h in Headers */ = {isa = PBXBuildFile; fileRef = B2D3DA540D006CD600EF6F27 /* OpenTypeMathData.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    74287423                08A484750E5272C500C3FE76 /* ScriptElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptElement.cpp; sourceTree = "<group>"; };
    74297424                08A484760E5272C500C3FE76 /* ScriptElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptElement.h; sourceTree = "<group>"; };
    7430                 08A48A6D0E86CF6D00E225DD /* JSSVGElementInstanceCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGElementInstanceCustom.cpp; sourceTree = "<group>"; };
    74317425                08B35B12127B6A7C005314DD /* SVGAnimatedNumber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedNumber.h; sourceTree = "<group>"; };
    74327426                08B35B16127B6A88005314DD /* SVGAnimatedNumberList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAnimatedNumberList.h; sourceTree = "<group>"; };
     
    1172711721                B22278210D00BF1F0071B782 /* SVGElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SVGElement.h; sourceTree = "<group>"; };
    1172811722                B22278220D00BF1F0071B782 /* SVGElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGElement.idl; sourceTree = "<group>"; };
    11729                 B22278230D00BF1F0071B782 /* SVGElementInstance.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGElementInstance.cpp; sourceTree = "<group>"; };
    11730                 B22278240D00BF1F0071B782 /* SVGElementInstance.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SVGElementInstance.h; sourceTree = "<group>"; };
    11731                 B22278250D00BF1F0071B782 /* SVGElementInstance.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGElementInstance.idl; sourceTree = "<group>"; };
    1173211723                B22278290D00BF1F0071B782 /* SVGEllipseElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGEllipseElement.cpp; sourceTree = "<group>"; };
    1173311724                B222782A0D00BF1F0071B782 /* SVGEllipseElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SVGEllipseElement.h; sourceTree = "<group>"; };
     
    1215712148                B2C3DA5B0D006CD600EF6F26 /* GlyphBuffer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = GlyphBuffer.h; sourceTree = "<group>"; };
    1215812149                B2C96D8C0B3AF2B7005E80EC /* JSSVGPathSegCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGPathSegCustom.cpp; sourceTree = "<group>"; };
    12159                 B2CB923B0B5BD941009BAA78 /* JSSVGElementInstance.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGElementInstance.cpp; sourceTree = "<group>"; };
    12160                 B2CB923C0B5BD941009BAA78 /* JSSVGElementInstance.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSSVGElementInstance.h; sourceTree = "<group>"; };
    1216112150                B2D3DA530D006CD600EF6F27 /* OpenTypeMathData.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = OpenTypeMathData.cpp; sourceTree = "<group>"; };
    1216212151                B2D3DA540D006CD600EF6F27 /* OpenTypeMathData.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = OpenTypeMathData.h; sourceTree = "<group>"; };
     
    1912919118                                B222F69A0AB771B80022EFAD /* JSSVGElement.cpp */,
    1913019119                                B222F69B0AB771B80022EFAD /* JSSVGElement.h */,
    19131                                 B2CB923B0B5BD941009BAA78 /* JSSVGElementInstance.cpp */,
    19132                                 B2CB923C0B5BD941009BAA78 /* JSSVGElementInstance.h */,
    1913319120                                B2FA3C800AB75A6E000E5AC4 /* JSSVGEllipseElement.cpp */,
    1913419121                                B2FA3C810AB75A6E000E5AC4 /* JSSVGEllipseElement.h */,
     
    2003020017                                B22278210D00BF1F0071B782 /* SVGElement.h */,
    2003120018                                B22278220D00BF1F0071B782 /* SVGElement.idl */,
    20032                                 B22278230D00BF1F0071B782 /* SVGElementInstance.cpp */,
    20033                                 B22278240D00BF1F0071B782 /* SVGElementInstance.h */,
    20034                                 B22278250D00BF1F0071B782 /* SVGElementInstance.idl */,
    2003520019                                081AA8D91111237E002AB06E /* SVGElementRareData.h */,
    2003620020                                B22278290D00BF1F0071B782 /* SVGEllipseElement.cpp */,
     
    2112421108                                A84EBD770CB8C89200079609 /* JSStyleSheetListCustom.cpp */,
    2112521109                                E1FF8F661807460800132674 /* JSSubtleCryptoCustom.cpp */,
    21126                                 08A48A6D0E86CF6D00E225DD /* JSSVGElementInstanceCustom.cpp */,
    2112721110                                08E4FE450E2BD41400F4CAE0 /* JSSVGLengthCustom.cpp */,
    2112821111                                B2C96D8C0B3AF2B7005E80EC /* JSSVGPathSegCustom.cpp */,
     
    2520925192                                B2FA3D670AB75A6F000E5AC4 /* JSSVGDocument.h in Headers */,
    2521025193                                B222F69D0AB771B80022EFAD /* JSSVGElement.h in Headers */,
    25211                                 B2CB92440B5BD970009BAA78 /* JSSVGElementInstance.h in Headers */,
    2521225194                                8542A7990AE5C94400DF58DF /* JSSVGElementWrapperFactory.h in Headers */,
    2521325195                                B2FA3D690AB75A6F000E5AC4 /* JSSVGEllipseElement.h in Headers */,
     
    2634426326                                B22279B70D00BF220071B782 /* SVGElement.h in Headers */,
    2634526327                                656581FE09D1508D000E61D7 /* SVGElementFactory.h in Headers */,
    26346                                 B22279BA0D00BF220071B782 /* SVGElementInstance.h in Headers */,
    2634726328                                081AA8DA1111237E002AB06E /* SVGElementRareData.h in Headers */,
    2634826329                                B562DB6117D3CD660010AF96 /* SVGElementTypeHelpers.h in Headers */,
     
    2877928760                                B2FA3D660AB75A6F000E5AC4 /* JSSVGDocument.cpp in Sources */,
    2878028761                                B222F69C0AB771B80022EFAD /* JSSVGElement.cpp in Sources */,
    28781                                 B2CB92420B5BD966009BAA78 /* JSSVGElementInstance.cpp in Sources */,
    28782                                 08A48A6E0E86CF6D00E225DD /* JSSVGElementInstanceCustom.cpp in Sources */,
    2878328762                                8542A79A0AE5C94400DF58DF /* JSSVGElementWrapperFactory.cpp in Sources */,
    2878428763                                B2FA3D680AB75A6F000E5AC4 /* JSSVGEllipseElement.cpp in Sources */,
     
    2975929738                                B22279B60D00BF220071B782 /* SVGElement.cpp in Sources */,
    2976029739                                A833C8520A2CF52800D57664 /* SVGElementFactory.cpp in Sources */,
    29761                                 B22279B90D00BF220071B782 /* SVGElementInstance.cpp in Sources */,
    2976229740                                B22279BF0D00BF220071B782 /* SVGEllipseElement.cpp in Sources */,
    2976329741                                978D07CA145A10160096908D /* SVGException.cpp in Sources */,
  • trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp

    r179687 r179810  
    119119#include "JSSQLResultSetRowListCustom.cpp"
    120120#include "JSSQLTransactionCustom.cpp"
    121 #include "JSSVGElementInstanceCustom.cpp"
    122121#include "JSSVGLengthCustom.cpp"
    123122#include "JSSVGPathSegCustom.cpp"
  • trunk/Source/WebCore/bindings/js/JSEventListener.cpp

    r178633 r179810  
    2828#include "JSMainThreadExecState.h"
    2929#include "JSMainThreadExecStateInstrumentation.h"
    30 #include "JSSVGElementInstance.h"
    3130#include "ScriptController.h"
    3231#include "WorkerGlobalScope.h"
     
    165164}
    166165
    167 // SVGElementInstance forwards listeners to its corresponding element, so the listeners are
    168 // protected by the wrapper of the corresponding element, not the element instance's wrapper.
    169 
    170 bool forwardsEventListeners(JSC::JSObject& object)
    171 {
    172     if (object.classInfo() == JSSVGElementInstance::info())
    173         return true;
    174     ASSERT(!object.inherits(JSSVGElementInstance::info()));
    175     return false;
    176 }
    177 
    178 static JSC::JSObject& correspondingElementWrapper(JSC::ExecState& state, JSC::JSObject& wrapper)
    179 {
    180     JSSVGElementInstance& castedWrapper = *jsCast<JSSVGElementInstance*>(&wrapper);
    181     return *asObject(toJS(&state, castedWrapper.globalObject(), *castedWrapper.impl().correspondingElement()));
    182 }
    183 
    184 RefPtr<JSEventListener> createJSEventListenerForAttribute(JSC::ExecState& state, JSC::JSValue listener, JSSVGElementInstance& wrapper)
    185 {
    186     return createJSEventListenerForAttribute(state, listener, correspondingElementWrapper(state, wrapper));
    187 }
    188 
    189166Ref<JSEventListener> createJSEventListenerForAdd(JSC::ExecState& state, JSC::JSObject& listener, JSC::JSObject& wrapper)
    190167{
    191     JSC::JSObject& actualWrapper = forwardsEventListeners(wrapper) ? correspondingElementWrapper(state, wrapper) : wrapper;
    192     ASSERT(!forwardsEventListeners(actualWrapper));
    193     return JSEventListener::create(&listener, &actualWrapper, false, currentWorld(&state));
     168    // FIXME: This abstraction is no longer needed. It was part of support for SVGElementInstance.
     169    // We should remove it and simplify the bindings generation scripts.
     170    return JSEventListener::create(&listener, &wrapper, false, currentWorld(&state));
    194171}
    195172
  • trunk/Source/WebCore/bindings/js/JSEventListener.h

    r178633 r179810  
    3131
    3232    class JSDOMGlobalObject;
    33     class JSSVGElementInstance;
    3433
    3534    class JSEventListener : public EventListener {
     
    7978    // For "onXXX" event attributes.
    8079    RefPtr<JSEventListener> createJSEventListenerForAttribute(JSC::ExecState&, JSC::JSValue listener, JSC::JSObject& wrapper);
    81     RefPtr<JSEventListener> createJSEventListenerForAttribute(JSC::ExecState&, JSC::JSValue listener, JSSVGElementInstance& wrapper);
    8280
    8381    Ref<JSEventListener> createJSEventListenerForAdd(JSC::ExecState&, JSC::JSObject& listener, JSC::JSObject& wrapper);
  • trunk/Source/WebCore/dom/ContainerNodeAlgorithms.h

    r178988 r179810  
    7979}
    8080
    81 // Helper functions for TreeShared-derived classes, which have a 'Node' style interface
    82 // This applies to 'ContainerNode' and 'SVGElementInstance'
     81// This no longer needs to be generic. It's only used for Node and ContainerNode now.
    8382template<class GenericNode, class GenericNodeContainer>
    8483inline void removeDetachedChildrenInContainer(GenericNodeContainer& container)
  • trunk/Source/WebCore/dom/EventDispatcher.cpp

    r179785 r179810  
    3838#include "ScopedEventQueue.h"
    3939#include "ShadowRoot.h"
    40 #include "SVGElementInstance.h"
    4140#include "SVGNames.h"
    4241#include "SVGUseElement.h"
  • trunk/Source/WebCore/dom/EventTarget.h

    r178310 r179810  
    6666    class Node;
    6767    class Notification;
    68     class SVGElementInstance;
    6968    class ScriptExecutionContext;
    7069    class TextTrack;
  • trunk/Source/WebCore/dom/EventTargetFactory.in

    r178310 r179810  
    3030SourceBufferList conditional=MEDIA_SOURCE
    3131SpeechSynthesisUtterance conditional=SPEECH_SYNTHESIS
    32 SVGElementInstance
    3332TextTrack conditional=VIDEO_TRACK
    3433TextTrackCue conditional=VIDEO_TRACK
  • trunk/Source/WebCore/page/EventHandler.cpp

    r179324 r179810  
    8181#include "RuntimeApplicationChecks.h"
    8282#include "SVGDocument.h"
    83 #include "SVGElementInstance.h"
    8483#include "SVGNames.h"
    8584#include "SVGUseElement.h"
  • trunk/Source/WebCore/rendering/svg/RenderSVGViewportContainer.cpp

    r179069 r179810  
    2626#include "GraphicsContext.h"
    2727#include "RenderView.h"
    28 #include "SVGElementInstance.h"
    2928#include "SVGNames.h"
    3029#include "SVGSVGElement.h"
  • trunk/Source/WebCore/svg/SVGAElement.cpp

    r179695 r179810  
    4141#include "RenderSVGTransformableContainer.h"
    4242#include "ResourceRequest.h"
    43 #include "SVGElementInstance.h"
    4443#include "SVGNames.h"
    4544#include "SVGSMILElement.h"
  • trunk/Source/WebCore/svg/SVGAllInOne.cpp

    r178715 r179810  
    6767#include "SVGDocumentExtensions.cpp"
    6868#include "SVGElement.cpp"
    69 #include "SVGElementInstance.cpp"
    7069#include "SVGEllipseElement.cpp"
    7170#include "SVGException.cpp"
  • trunk/Source/WebCore/svg/SVGAnimateMotionElement.cpp

    r179260 r179810  
    2828#include "RenderObject.h"
    2929#include "RenderSVGResource.h"
    30 #include "SVGElementInstance.h"
    3130#include "SVGImageElement.h"
    3231#include "SVGMPathElement.h"
  • trunk/Source/WebCore/svg/SVGAnimatedTypeAnimator.h

    r179695 r179810  
    2424#include "SVGAnimatedProperty.h"
    2525#include "SVGAnimatedType.h"
    26 #include "SVGElementInstance.h"
    2726#include <wtf/StdLibExtras.h>
    2827
  • trunk/Source/WebCore/svg/SVGAnimationElement.cpp

    r179772 r179810  
    3636#include "SVGAnimateElement.h"
    3737#include "SVGElement.h"
    38 #include "SVGElementInstance.h"
    3938#include "SVGNames.h"
    4039#include "SVGParserUtilities.h"
  • trunk/Source/WebCore/svg/SVGCircleElement.cpp

    r179695 r179810  
    2828#include "RenderSVGPath.h"
    2929#include "RenderSVGResource.h"
    30 #include "SVGElementInstance.h"
    3130#include "SVGException.h"
    3231#include "SVGLength.h"
  • trunk/Source/WebCore/svg/SVGClipPathElement.cpp

    r179695 r179810  
    2626#include "Document.h"
    2727#include "RenderSVGResourceClipper.h"
    28 #include "SVGElementInstance.h"
    2928#include "SVGNames.h"
    3029#include "SVGTransformList.h"
  • trunk/Source/WebCore/svg/SVGComponentTransferFunctionElement.cpp

    r179695 r179810  
    2323
    2424#include "Attribute.h"
    25 #include "SVGElementInstance.h"
    2625#include "SVGFEComponentTransferElement.h"
    2726#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGCursorElement.cpp

    r179695 r179810  
    2424#include "Attr.h"
    2525#include "Document.h"
    26 #include "SVGElementInstance.h"
    2726#include "SVGNames.h"
    2827#include "XLinkNames.h"
  • trunk/Source/WebCore/svg/SVGElement.cpp

    r179807 r179810  
    4545#include "SVGCursorElement.h"
    4646#include "SVGDocumentExtensions.h"
    47 #include "SVGElementInstance.h"
    4847#include "SVGElementRareData.h"
    4948#include "SVGGraphicsElement.h"
  • trunk/Source/WebCore/svg/SVGElement.h

    r179807 r179810  
    4747class SVGCursorElement;
    4848class SVGDocumentExtensions;
    49 class SVGElementInstance;
    5049class SVGElementRareData;
    5150class SVGSVGElement;
     
    189188
    190189private:
    191     friend class SVGElementInstance;
    192 
    193190    virtual RenderStyle* computedStyle(PseudoId = NOPSEUDO) override final;
    194191    virtual bool willRecalcStyle(Style::Change) override;
  • trunk/Source/WebCore/svg/SVGEllipseElement.cpp

    r179695 r179810  
    2727#include "RenderSVGPath.h"
    2828#include "RenderSVGResource.h"
    29 #include "SVGElementInstance.h"
    3029#include "SVGLength.h"
    3130#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFEBlendElement.cpp

    r179695 r179810  
    2525#include "Attribute.h"
    2626#include "FilterEffect.h"
    27 #include "SVGElementInstance.h"
    2827#include "SVGFilterBuilder.h"
    2928#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFEColorMatrixElement.cpp

    r179695 r179810  
    2424#include "Attribute.h"
    2525#include "FilterEffect.h"
    26 #include "SVGElementInstance.h"
    2726#include "SVGFilterBuilder.h"
    2827#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFECompositeElement.cpp

    r179695 r179810  
    2424#include "Attribute.h"
    2525#include "FilterEffect.h"
    26 #include "SVGElementInstance.h"
    2726#include "SVGFilterBuilder.h"
    2827#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFEConvolveMatrixElement.cpp

    r179695 r179810  
    2626#include "IntPoint.h"
    2727#include "IntSize.h"
    28 #include "SVGElementInstance.h"
    2928#include "SVGFilterBuilder.h"
    3029#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFEDiffuseLightingElement.cpp

    r179695 r179810  
    2626#include "RenderStyle.h"
    2727#include "SVGColor.h"
    28 #include "SVGElementInstance.h"
    2928#include "SVGFELightElement.h"
    3029#include "SVGFilterBuilder.h"
  • trunk/Source/WebCore/svg/SVGFEDisplacementMapElement.cpp

    r179695 r179810  
    2323#include "Attribute.h"
    2424#include "FilterEffect.h"
    25 #include "SVGElementInstance.h"
    2625#include "SVGFilterBuilder.h"
    2726#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFEDropShadowElement.cpp

    r179695 r179810  
    2323#include "Attribute.h"
    2424#include "RenderStyle.h"
    25 #include "SVGElementInstance.h"
    2625#include "SVGFilterBuilder.h"
    2726#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFEGaussianBlurElement.cpp

    r179695 r179810  
    2424#include "Attribute.h"
    2525#include "FilterEffect.h"
    26 #include "SVGElementInstance.h"
    2726#include "SVGFilterBuilder.h"
    2827#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFEImageElement.cpp

    r179695 r179810  
    3232#include "RenderObject.h"
    3333#include "RenderSVGResource.h"
    34 #include "SVGElementInstance.h"
    3534#include "SVGNames.h"
    3635#include "SVGPreserveAspectRatio.h"
  • trunk/Source/WebCore/svg/SVGFELightElement.cpp

    r179695 r179810  
    2727#include "RenderObject.h"
    2828#include "RenderSVGResource.h"
    29 #include "SVGElementInstance.h"
    3029#include "SVGFEDiffuseLightingElement.h"
    3130#include "SVGFESpecularLightingElement.h"
  • trunk/Source/WebCore/svg/SVGFEMergeNodeElement.cpp

    r179695 r179810  
    2525#include "RenderObject.h"
    2626#include "RenderSVGResource.h"
    27 #include "SVGElementInstance.h"
    2827#include "SVGFilterElement.h"
    2928#include "SVGFilterPrimitiveStandardAttributes.h"
  • trunk/Source/WebCore/svg/SVGFEMorphologyElement.cpp

    r179695 r179810  
    2323#include "Attribute.h"
    2424#include "FilterEffect.h"
    25 #include "SVGElementInstance.h"
    2625#include "SVGFilterBuilder.h"
    2726#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFEOffsetElement.cpp

    r179695 r179810  
    2424#include "Attribute.h"
    2525#include "FilterEffect.h"
    26 #include "SVGElementInstance.h"
    2726#include "SVGFilterBuilder.h"
    2827#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFESpecularLightingElement.cpp

    r179695 r179810  
    2727#include "RenderStyle.h"
    2828#include "SVGColor.h"
    29 #include "SVGElementInstance.h"
    3029#include "SVGFELightElement.h"
    3130#include "SVGFilterBuilder.h"
  • trunk/Source/WebCore/svg/SVGFETileElement.cpp

    r179695 r179810  
    2424#include "Attribute.h"
    2525#include "FilterEffect.h"
    26 #include "SVGElementInstance.h"
    2726#include "SVGFilterBuilder.h"
    2827#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGFETurbulenceElement.cpp

    r179695 r179810  
    2323
    2424#include "Attribute.h"
    25 #include "SVGElementInstance.h"
    2625#include "SVGNames.h"
    2726#include "SVGParserUtilities.h"
  • trunk/Source/WebCore/svg/SVGFilterElement.cpp

    r179695 r179810  
    2828#include "Attr.h"
    2929#include "RenderSVGResourceFilter.h"
    30 #include "SVGElementInstance.h"
    3130#include "SVGFilterBuilder.h"
    3231#include "SVGFilterPrimitiveStandardAttributes.h"
  • trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp

    r179695 r179810  
    2727#include "RenderSVGResourceFilterPrimitive.h"
    2828#include "SVGElement.h"
    29 #include "SVGElementInstance.h"
    3029#include "SVGFilterBuilder.h"
    3130#include "SVGLength.h"
  • trunk/Source/WebCore/svg/SVGForeignObjectElement.cpp

    r179695 r179810  
    2727#include "RenderSVGForeignObject.h"
    2828#include "RenderSVGResource.h"
    29 #include "SVGElementInstance.h"
    3029#include "SVGLength.h"
    3130#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGGElement.cpp

    r179695 r179810  
    2525#include "RenderSVGResource.h"
    2626#include "RenderSVGTransformableContainer.h"
    27 #include "SVGElementInstance.h"
    2827#include "SVGNames.h"
    2928#include <wtf/NeverDestroyed.h>
  • trunk/Source/WebCore/svg/SVGGradientElement.cpp

    r179695 r179810  
    2828#include "RenderSVGResourceLinearGradient.h"
    2929#include "RenderSVGResourceRadialGradient.h"
    30 #include "SVGElementInstance.h"
    3130#include "SVGNames.h"
    3231#include "SVGStopElement.h"
  • trunk/Source/WebCore/svg/SVGGraphicsElement.cpp

    r179695 r179810  
    2626#include "RenderSVGPath.h"
    2727#include "RenderSVGResource.h"
    28 #include "SVGElementInstance.h"
    2928#include "SVGNames.h"
    3029#include "SVGPathData.h"
  • trunk/Source/WebCore/svg/SVGImageElement.cpp

    r179695 r179810  
    2929#include "RenderSVGImage.h"
    3030#include "RenderSVGResource.h"
    31 #include "SVGElementInstance.h"
    3231#include "SVGNames.h"
    3332#include "SVGSVGElement.h"
  • trunk/Source/WebCore/svg/SVGLineElement.cpp

    r179695 r179810  
    2626#include "RenderSVGPath.h"
    2727#include "RenderSVGResource.h"
    28 #include "SVGElementInstance.h"
    2928#include "SVGLength.h"
    3029#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp

    r179695 r179810  
    3030#include "LinearGradientAttributes.h"
    3131#include "RenderSVGResourceLinearGradient.h"
    32 #include "SVGElementInstance.h"
    3332#include "SVGLength.h"
    3433#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGMarkerElement.cpp

    r179695 r179810  
    2525#include "Attribute.h"
    2626#include "RenderSVGResourceMarker.h"
    27 #include "SVGElementInstance.h"
    2827#include "SVGFitToViewBox.h"
    2928#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGMaskElement.cpp

    r179695 r179810  
    2828#include "Attribute.h"
    2929#include "RenderSVGResourceMasker.h"
    30 #include "SVGElementInstance.h"
    3130#include "SVGNames.h"
    3231#include "SVGRenderSupport.h"
  • trunk/Source/WebCore/svg/SVGPathElement.cpp

    r179695 r179810  
    2525#include "RenderSVGPath.h"
    2626#include "RenderSVGResource.h"
    27 #include "SVGElementInstance.h"
    2827#include "SVGMPathElement.h"
    2928#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGPatternElement.cpp

    r179695 r179810  
    3333#include "RenderSVGContainer.h"
    3434#include "RenderSVGResourcePattern.h"
    35 #include "SVGElementInstance.h"
    3635#include "SVGFitToViewBox.h"
    3736#include "SVGGraphicsElement.h"
  • trunk/Source/WebCore/svg/SVGPolyElement.cpp

    r179695 r179810  
    2828#include "RenderSVGResource.h"
    2929#include "SVGAnimatedPointList.h"
    30 #include "SVGElementInstance.h"
    3130#include "SVGNames.h"
    3231#include "SVGParserUtilities.h"
  • trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp

    r179695 r179810  
    3030#include "RadialGradientAttributes.h"
    3131#include "RenderSVGResourceRadialGradient.h"
    32 #include "SVGElementInstance.h"
    3332#include "SVGNames.h"
    3433#include "SVGStopElement.h"
  • trunk/Source/WebCore/svg/SVGRectElement.cpp

    r179695 r179810  
    2727#include "RenderSVGRect.h"
    2828#include "RenderSVGResource.h"
    29 #include "SVGElementInstance.h"
    3029#include "SVGLength.h"
    3130#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGSVGElement.cpp

    r179695 r179810  
    4747#include "SMILTimeContainer.h"
    4848#include "SVGAngle.h"
    49 #include "SVGElementInstance.h"
    5049#include "SVGFitToViewBox.h"
    5150#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGScriptElement.cpp

    r179695 r179810  
    2828#include "HTMLNames.h"
    2929#include "SVGAnimatedStaticPropertyTearOff.h"
    30 #include "SVGElementInstance.h"
    3130#include "XLinkNames.h"
    3231#include <wtf/NeverDestroyed.h>
  • trunk/Source/WebCore/svg/SVGStopElement.cpp

    r179695 r179810  
    2626#include "RenderSVGGradientStop.h"
    2727#include "RenderSVGResource.h"
    28 #include "SVGElementInstance.h"
    2928#include "SVGGradientElement.h"
    3029#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGSymbolElement.cpp

    r179695 r179810  
    2323
    2424#include "RenderSVGHiddenContainer.h"
    25 #include "SVGElementInstance.h"
    2625#include "SVGFitToViewBox.h"
    2726#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGTRefElement.cpp

    r179695 r179810  
    3232#include "ShadowRoot.h"
    3333#include "SVGDocument.h"
    34 #include "SVGElementInstance.h"
    3534#include "SVGNames.h"
    3635#include "StyleInheritedData.h"
  • trunk/Source/WebCore/svg/SVGTextContentElement.cpp

    r179695 r179810  
    3030#include "RenderSVGText.h"
    3131#include "SVGDocumentExtensions.h"
    32 #include "SVGElementInstance.h"
    3332#include "SVGNames.h"
    3433#include "SVGTextQuery.h"
  • trunk/Source/WebCore/svg/SVGTextElement.cpp

    r178048 r179810  
    2525#include "RenderSVGResource.h"
    2626#include "RenderSVGText.h"
    27 #include "SVGElementInstance.h"
    2827#include "SVGNames.h"
    2928#include "SVGRenderStyle.h"
  • trunk/Source/WebCore/svg/SVGTextPathElement.cpp

    r179695 r179810  
    2525#include "RenderSVGResource.h"
    2626#include "RenderSVGTextPath.h"
    27 #include "SVGElementInstance.h"
    2827#include "SVGNames.h"
    2928#include "XLinkNames.h"
  • trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp

    r179695 r179810  
    2828#include "RenderSVGText.h"
    2929#include "SVGAltGlyphElement.h"
    30 #include "SVGElementInstance.h"
    3130#include "SVGLengthList.h"
    3231#include "SVGNames.h"
  • trunk/Source/WebCore/svg/SVGUseElement.cpp

    r179807 r179810  
    4040#include "RenderSVGTransformableContainer.h"
    4141#include "ShadowRoot.h"
    42 #include "SVGElementInstance.h"
    4342#include "SVGElementRareData.h"
    4443#include "SVGGElement.h"
     
    154153Node::InsertionNotificationRequest SVGUseElement::insertedInto(ContainerNode& rootParent)
    155154{
    156     // This functions exists to assure assumptions made in the code regarding SVGElementInstance creation/destruction are satisfied.
    157155    SVGGraphicsElement::insertedInto(rootParent);
    158156    if (!rootParent.inDocument())
     
    650648}
    651649
    652 bool SVGUseElement::instanceTreeIsLoading(SVGElementInstance* targetElementInstance)
    653 {
    654     for (SVGElementInstance* instance = targetElementInstance->firstChild(); instance; instance = instance->nextSibling()) {
    655         if (SVGUseElement* use = instance->correspondingUseElement()) {
    656              if (use->cachedDocumentIsStillLoading())
    657                  return true;
    658         }
    659         if (instance->hasChildNodes())
    660             instanceTreeIsLoading(instance);
    661     }
    662     return false;
    663 }
    664 
    665650void SVGUseElement::finishParsingChildren()
    666651{
  • trunk/Source/WebCore/svg/SVGUseElement.h

    r179807 r179810  
    9999    bool cachedDocumentIsStillLoading();
    100100    Document* externalDocument() const;
    101     bool instanceTreeIsLoading(SVGElementInstance*);
    102101    virtual void notifyFinished(CachedResource*) override;
    103102    Document* referencedDocument() const;
  • trunk/Tools/ChangeLog

    r179793 r179810  
     12015-02-08  Darin Adler  <darin@apple.com>
     2
     3        Remove the SVG instance tree
     4        https://bugs.webkit.org/show_bug.cgi?id=140602
     5
     6        Reviewed by Dean Jackson.
     7
     8        * Scripts/check-for-global-initializers: Removed special case for
     9        SVGElementInstance.o.
     10
    1112015-02-07  David Kilzer  <ddkilzer@apple.com>
    212
  • trunk/Tools/Scripts/check-for-global-initializers

    r165676 r179810  
    117117                next if $shortName eq "Range.o";
    118118                next if $shortName eq "RenderObject.o";
    119                 next if $shortName eq "SVGElementInstance.o";
    120119                next if $shortName eq "SubresourceLoader.o";
    121120                next if $shortName eq "XMLHttpRequest.o";
Note: See TracChangeset for help on using the changeset viewer.