Changeset 152299 in webkit
- Timestamp:
- Jul 2, 2013 10:37:32 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 deleted
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r152235 r152299 2464 2464 svg/SVGStyleElement.cpp 2465 2465 svg/SVGStyledElement.cpp 2466 svg/SVGStyledLocatableElement.cpp2467 2466 svg/SVGSwitchElement.cpp 2468 2467 svg/SVGSymbolElement.cpp -
trunk/Source/WebCore/ChangeLog
r152297 r152299 1 2013-07-02 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 3 Remove SVGStyledLocatableElement class 4 https://bugs.webkit.org/show_bug.cgi?id=118283 5 6 Reviewed by Dirk Schulze. 7 8 Remove SVGStyledLocatableElement class and have SVGGraphicsElement 9 inherit SVGStyledElement directly instead. SVGStyledLocatableElement 10 is no longer needed and according to the specification, SVGGraphicsElement 11 should inherit SVGStyledElement (actually SVGElement once we merge 12 SVGStyledElement into SVGElement). 13 14 No new tests, no behavior change. 15 16 * CMakeLists.txt: 17 * GNUmakefile.list.am: 18 * Target.pri: 19 * WebCore.order: 20 * WebCore.vcxproj/WebCore.vcxproj: 21 * WebCore.vcxproj/WebCore.vcxproj.filters: 22 * WebCore.xcodeproj/project.pbxproj: 23 * bindings/scripts/CodeGeneratorJS.pm: 24 (GetGnuVTableOffsetForType): 25 * svg/SVGAllInOne.cpp: 26 * svg/SVGElement.cpp: 27 (WebCore::SVGElement::getBoundingBox): 28 * svg/SVGElement.h: 29 * svg/SVGGraphicsElement.cpp: 30 (WebCore::SVGGraphicsElement::SVGGraphicsElement): 31 (WebCore::SVGGraphicsElement::parseAttribute): 32 (WebCore::SVGGraphicsElement::svgAttributeChanged): 33 * svg/SVGGraphicsElement.h: 34 * svg/SVGLocatable.cpp: 35 (WebCore::SVGLocatable::getTransformToElement): 36 * svg/SVGStyledElement.cpp: 37 (WebCore::SVGStyledElement::localCoordinateSpaceTransform): 38 * svg/SVGStyledLocatableElement.cpp: Removed. 39 * svg/SVGStyledLocatableElement.h: Removed. 40 1 41 2013-07-02 peavo@outlook.com <peavo@outlook.com> 2 42 -
trunk/Source/WebCore/GNUmakefile.list.am
r152275 r152299 5301 5301 Source/WebCore/svg/SVGStyledElement.cpp \ 5302 5302 Source/WebCore/svg/SVGStyledElement.h \ 5303 Source/WebCore/svg/SVGStyledLocatableElement.cpp \5304 Source/WebCore/svg/SVGStyledLocatableElement.h \5305 5303 Source/WebCore/svg/SVGSVGElement.cpp \ 5306 5304 Source/WebCore/svg/SVGSVGElement.h \ -
trunk/Source/WebCore/Target.pri
r152282 r152299 2782 2782 svg/SVGStyleElement.h \ 2783 2783 svg/SVGStyledElement.h \ 2784 svg/SVGStyledLocatableElement.h \2785 2784 svg/SVGSVGElement.h \ 2786 2785 svg/SVGSwitchElement.h \ … … 3844 3843 svg/SVGStyleElement.cpp \ 3845 3844 svg/SVGStyledElement.cpp \ 3846 svg/SVGStyledLocatableElement.cpp \3847 3845 svg/SVGSwitchElement.cpp \ 3848 3846 svg/SVGSymbolElement.cpp \ -
trunk/Source/WebCore/WebCore.order
r152167 r152299 10009 10009 __ZN7WebCore13SVGSVGElement6createERKNS_13QualifiedNameEPNS_8DocumentE 10010 10010 __ZN7WebCore13SVGSVGElementC1ERKNS_13QualifiedNameEPNS_8DocumentE 10011 __ZN7WebCore25SVGStyledLocatableElementC2ERKNS_13QualifiedNameEPNS_8DocumentE10012 10011 __ZN7WebCore16SVGStyledElementC2ERKNS_13QualifiedNameEPNS_8DocumentE 10013 10012 __ZN7WebCore10SVGElementC2ERKNS_13QualifiedNameEPNS_8DocumentE … … 10022 10021 __ZN7WebCore16SVGStyledElement32cssPropertyIdForSVGAttributeNameERKNS_13QualifiedNameE 10023 10022 __ZN7WebCore13SVGSVGElement20parseMappedAttributeEPNS_9AttributeE 10024 __ZNK7WebCore25SVGStyledLocatableElement22nearestViewportElementEv10025 10023 __ZN7WebCore12SVGLocatable22nearestViewportElementEPKNS_10SVGElementE 10026 10024 __ZN7WebCore8SVGTests20parseMappedAttributeEPNS_9AttributeE … … 11440 11438 __ZN3JSC21getStaticPropertySlotIN7WebCore24JSSVGSVGElementPrototypeENS_8JSObjectEEEbPNS_9ExecStateEPKNS_9HashTableEPT_RKNS_10IdentifierERNS_12PropertySlotE 11441 11439 __ZNK7WebCore10SVGElement11boundingBoxERNS_9FloatRectENS_12SVGLocatable19StyleUpdateStrategyE 11442 __ZNK7WebCore25SVGStyledLocatableElement17isStyledLocatableEv11443 __ZNK7WebCore25SVGStyledLocatableElement7getBBoxENS_12SVGLocatable19StyleUpdateStrategyE11444 11440 __ZN7WebCore12SVGLocatable7getBBoxEPKNS_10SVGElementENS0_19StyleUpdateStrategyE 11445 11441 __ZNK7WebCore13RenderSVGRoot17objectBoundingBoxEv … … 30045 30041 __ZN7WebCore24jsSVGSVGElementClassNameEPN3JSC9ExecStateENS0_7JSValueERKNS0_10IdentifierE 30046 30042 __ZN7WebCore38jsSVGSVGElementFarthestViewportElementEPN3JSC9ExecStateENS0_7JSValueERKNS0_10IdentifierE 30047 __ZNK7WebCore25SVGStyledLocatableElement23farthestViewportElementEv30048 30043 __ZN7WebCore39jsSVGSVGElementScreenPixelToMillimeterYEPN3JSC9ExecStateENS0_7JSValueERKNS0_10IdentifierE 30049 30044 __ZNK7WebCore13SVGSVGElement24screenPixelToMillimeterYEv … … 30090 30085 __ZNK7WebCore29SVGGraphicsElement12getScreenCTMENS_12SVGLocatable19StyleUpdateStrategyE 30091 30086 __ZN7WebCore44jsSVGSVGElementPrototypeFunctionGetScreenCTMEPN3JSC9ExecStateE 30092 __ZNK7WebCore25SVGStyledLocatableElement12getScreenCTMENS_12SVGLocatable19StyleUpdateStrategyE30093 30087 __ZN7WebCoreL28createSVGGlyphElementWrapperEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEN3WTF10PassRefPtrINS_10SVGElementEEE 30094 30088 __ZN7WebCore13createWrapperINS_17JSSVGGlyphElementENS_15SVGGlyphElementEEEPNS_12JSDOMWrapperEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPT0_ … … 30218 30212 __ZNK7WebCore13SVGSVGElement14getElementByIdERKN3WTF12AtomicStringE 30219 30213 __ZN7WebCore38jsSVGSVGElementPrototypeFunctionGetCTMEPN3JSC9ExecStateE 30220 __ZNK7WebCore25SVGStyledLocatableElement6getCTMENS_12SVGLocatable19StyleUpdateStrategyE30221 30214 __ZN7WebCore36jsSVGGElementPrototypeFunctionGetCTMEPN3JSC9ExecStateE 30222 30215 __ZN7WebCore42jsSVGGElementPrototypeFunctionGetScreenCTMEPN3JSC9ExecStateE … … 30784 30777 __ZNK7WebCore15RenderSVGInline19mapLocalToContainerEPNS_20RenderBoxModelObjectEbbRNS_14TransformStateE 30785 30778 __ZN7WebCore53jsSVGSVGElementPrototypeFunctionGetTransformToElementEPN3JSC9ExecStateE 30786 __ZTv0_n56_NK7WebCore25SVGStyledLocatableElement6getCTMENS_12SVGLocatable19StyleUpdateStrategyE30787 30779 __ZNK7WebCore4Font32selectionRectForTextUsingSVGFontERKNS_7TextRunERKNS_10FloatPointEiii 30788 30780 __ZNK7WebCore13RenderSVGText14firstLineBlockEv … … 35522 35514 __ZTTN7WebCore11SVGAElementE 35523 35515 __ZTCN7WebCore11SVGAElementE0_NS_29SVGGraphicsElementE 35524 __ZTCN7WebCore11SVGAElementE0_NS_25SVGStyledLocatableElementE35525 35516 __ZTCN7WebCore11SVGAElementE144_NS_16SVGTransformableE 35526 35517 __ZTVN7WebCore18SVGAltGlyphElementE … … 35551 35542 __ZTTN7WebCore16SVGCircleElementE 35552 35543 __ZTCN7WebCore16SVGCircleElementE0_NS_29SVGGraphicsElementE 35553 __ZTCN7WebCore16SVGCircleElementE0_NS_25SVGStyledLocatableElementE35554 35544 __ZTCN7WebCore16SVGCircleElementE144_NS_16SVGTransformableE 35555 35545 __ZTVN7WebCore18SVGClipPathElementE 35556 35546 __ZTTN7WebCore18SVGClipPathElementE 35557 35547 __ZTCN7WebCore18SVGClipPathElementE0_NS_29SVGGraphicsElementE 35558 __ZTCN7WebCore18SVGClipPathElementE0_NS_25SVGStyledLocatableElementE35559 35548 __ZTCN7WebCore18SVGClipPathElementE144_NS_16SVGTransformableE 35560 35549 __ZTVN7WebCore35SVGComponentTransferFunctionElementE … … 35563 35552 __ZTTN7WebCore14SVGDefsElementE 35564 35553 __ZTCN7WebCore14SVGDefsElementE0_NS_29SVGGraphicsElementE 35565 __ZTCN7WebCore14SVGDefsElementE0_NS_25SVGStyledLocatableElementE35566 35554 __ZTCN7WebCore14SVGDefsElementE144_NS_16SVGTransformableE 35567 35555 __ZTVN7WebCore11SVGDocumentE … … 35572 35560 __ZTTN7WebCore17SVGEllipseElementE 35573 35561 __ZTCN7WebCore17SVGEllipseElementE0_NS_29SVGGraphicsElementE 35574 __ZTCN7WebCore17SVGEllipseElementE0_NS_25SVGStyledLocatableElementE35575 35562 __ZTCN7WebCore17SVGEllipseElementE144_NS_16SVGTransformableE 35576 35563 __ZN7WebCoreL13svgExceptionsE … … 35609 35596 __ZTTN7WebCore23SVGForeignObjectElementE 35610 35597 __ZTCN7WebCore23SVGForeignObjectElementE0_NS_29SVGGraphicsElementE 35611 __ZTCN7WebCore23SVGForeignObjectElementE0_NS_25SVGStyledLocatableElementE35612 35598 __ZTCN7WebCore23SVGForeignObjectElementE144_NS_16SVGTransformableE 35613 35599 __ZTVN7WebCore11SVGGElementE 35614 35600 __ZTTN7WebCore11SVGGElementE 35615 35601 __ZTCN7WebCore11SVGGElementE0_NS_29SVGGraphicsElementE 35616 __ZTCN7WebCore11SVGGElementE0_NS_25SVGStyledLocatableElementE35617 35602 __ZTCN7WebCore11SVGGElementE144_NS_16SVGTransformableE 35618 35603 __ZTVN7WebCore15SVGGlyphElementE … … 35624 35609 __ZTTN7WebCore15SVGImageElementE 35625 35610 __ZTCN7WebCore15SVGImageElementE0_NS_29SVGGraphicsElementE 35626 __ZTCN7WebCore15SVGImageElementE0_NS_25SVGStyledLocatableElementE35627 35611 __ZTCN7WebCore15SVGImageElementE144_NS_16SVGTransformableE 35628 35612 __ZTVN7WebCore14SVGImageLoaderE … … 35631 35615 __ZTTN7WebCore14SVGLineElementE 35632 35616 __ZTCN7WebCore14SVGLineElementE0_NS_29SVGGraphicsElementE 35633 __ZTCN7WebCore14SVGLineElementE0_NS_25SVGStyledLocatableElementE35634 35617 __ZTCN7WebCore14SVGLineElementE144_NS_16SVGTransformableE 35635 35618 __ZTVN7WebCore16SVGMarkerElementE … … 35642 35625 __ZTTN7WebCore14SVGPathElementE 35643 35626 __ZTCN7WebCore14SVGPathElementE0_NS_29SVGGraphicsElementE 35644 __ZTCN7WebCore14SVGPathElementE0_NS_25SVGStyledLocatableElementE35645 35627 __ZTCN7WebCore14SVGPathElementE144_NS_16SVGTransformableE 35646 35628 __ZTVN7WebCore21SVGPathSegListBuilderE … … 35654 35636 __ZTTN7WebCore14SVGPolyElementE 35655 35637 __ZTCN7WebCore14SVGPolyElementE0_NS_29SVGGraphicsElementE 35656 __ZTCN7WebCore14SVGPolyElementE0_NS_25SVGStyledLocatableElementE35657 35638 __ZTCN7WebCore14SVGPolyElementE144_NS_16SVGTransformableE 35658 35639 __ZTVN7WebCore24SVGRadialGradientElementE … … 35660 35641 __ZTTN7WebCore14SVGRectElementE 35661 35642 __ZTCN7WebCore14SVGRectElementE0_NS_29SVGGraphicsElementE 35662 __ZTCN7WebCore14SVGRectElementE0_NS_25SVGStyledLocatableElementE35663 35643 __ZTCN7WebCore14SVGRectElementE144_NS_16SVGTransformableE 35664 35644 __ZTVN7WebCore16SVGScriptElementE … … 35668 35648 __ZTVN7WebCore14SVGStopElementE 35669 35649 __ZTVN7WebCore16SVGStyledElementE 35670 __ZTVN7WebCore25SVGStyledLocatableElementE35671 35650 __ZTVN7WebCore29SVGGraphicsElementE 35672 35651 __ZTTN7WebCore29SVGGraphicsElementE 35673 __ZTCN7WebCore29SVGGraphicsElementE0_NS_25SVGStyledLocatableElementE35674 35652 __ZTCN7WebCore29SVGGraphicsElementE144_NS_16SVGTransformableE 35675 35653 __ZTVN7WebCore15SVGStyleElementE 35676 35654 __ZTVN7WebCore13SVGSVGElementE 35677 35655 __ZTTN7WebCore13SVGSVGElementE 35678 __ZTCN7WebCore13SVGSVGElementE0_NS_25SVGStyledLocatableElementE35679 35656 __ZTVN7WebCore16SVGSwitchElementE 35680 35657 __ZTTN7WebCore16SVGSwitchElementE 35681 35658 __ZTCN7WebCore16SVGSwitchElementE0_NS_29SVGGraphicsElementE 35682 __ZTCN7WebCore16SVGSwitchElementE0_NS_25SVGStyledLocatableElementE35683 35659 __ZTCN7WebCore16SVGSwitchElementE144_NS_16SVGTransformableE 35684 35660 __ZTVN7WebCore16SVGSymbolElementE … … 35696 35672 __ZTTN7WebCore13SVGUseElementE 35697 35673 __ZTCN7WebCore13SVGUseElementE0_NS_29SVGGraphicsElementE 35698 __ZTCN7WebCore13SVGUseElementE0_NS_25SVGStyledLocatableElementE35699 35674 __ZTCN7WebCore13SVGUseElementE144_NS_16SVGTransformableE 35700 35675 __ZTVN7WebCore14SVGViewElementE … … 38358 38333 __ZTCN7WebCore17SVGPolygonElementE0_NS_14SVGPolyElementE 38359 38334 __ZTCN7WebCore17SVGPolygonElementE0_NS_29SVGGraphicsElementE 38360 __ZTCN7WebCore17SVGPolygonElementE0_NS_25SVGStyledLocatableElementE38361 38335 __ZTCN7WebCore17SVGPolygonElementE144_NS_16SVGTransformableE 38362 38336 __ZTVN7WebCore18SVGPolylineElementE … … 38364 38338 __ZTCN7WebCore18SVGPolylineElementE0_NS_14SVGPolyElementE 38365 38339 __ZTCN7WebCore18SVGPolylineElementE0_NS_29SVGGraphicsElementE 38366 __ZTCN7WebCore18SVGPolylineElementE0_NS_25SVGStyledLocatableElementE38367 38340 __ZTCN7WebCore18SVGPolylineElementE144_NS_16SVGTransformableE 38368 38341 __ZTVN7WebCore5TimerINS_10SVGElementEEE -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
r152235 r152299 13463 13463 <ClInclude Include="..\svg\SVGStringList.h" /> 13464 13464 <ClInclude Include="..\svg\SVGStyledElement.h" /> 13465 <ClInclude Include="..\svg\SVGStyledLocatableElement.h" />13466 13465 <ClInclude Include="..\svg\SVGGraphicsElement.h" /> 13467 13466 <ClInclude Include="..\svg\SVGStyleElement.h" /> -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
r152235 r152299 12124 12124 <Filter>rendering\svg</Filter> 12125 12125 </ClInclude> 12126 <ClInclude Include="..\svg\SVGStyledLocatableElement.h">12127 <Filter>rendering\svg</Filter>12128 </ClInclude>12129 12126 <ClInclude Include="..\svg\SVGGraphicsElement.h"> 12130 12127 <Filter>rendering\svg</Filter> -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r152235 r152299 4088 4088 B2227AAB0D00BF220071B782 /* SVGStringList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B22279150D00BF210071B782 /* SVGStringList.cpp */; }; 4089 4089 B2227AAC0D00BF220071B782 /* SVGStringList.h in Headers */ = {isa = PBXBuildFile; fileRef = B22279160D00BF210071B782 /* SVGStringList.h */; }; 4090 B2227AB30D00BF220071B782 /* SVGStyledLocatableElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B222791D0D00BF210071B782 /* SVGStyledLocatableElement.cpp */; };4091 B2227AB40D00BF220071B782 /* SVGStyledLocatableElement.h in Headers */ = {isa = PBXBuildFile; fileRef = B222791E0D00BF210071B782 /* SVGStyledLocatableElement.h */; };4092 4090 B2227AB50D00BF220071B782 /* SVGGraphicsElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B222791F0D00BF210071B782 /* SVGGraphicsElement.cpp */; }; 4093 4091 B2227AB60D00BF220071B782 /* SVGGraphicsElement.h in Headers */ = {isa = PBXBuildFile; fileRef = B22279200D00BF210071B782 /* SVGGraphicsElement.h */; }; … … 10729 10727 B22279160D00BF210071B782 /* SVGStringList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SVGStringList.h; sourceTree = "<group>"; }; 10730 10728 B22279170D00BF210071B782 /* SVGStringList.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGStringList.idl; sourceTree = "<group>"; }; 10731 B222791D0D00BF210071B782 /* SVGStyledLocatableElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGStyledLocatableElement.cpp; sourceTree = "<group>"; };10732 B222791E0D00BF210071B782 /* SVGStyledLocatableElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SVGStyledLocatableElement.h; sourceTree = "<group>"; };10733 10729 B222791F0D00BF210071B782 /* SVGGraphicsElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGGraphicsElement.cpp; sourceTree = "<group>"; }; 10734 10730 B22279200D00BF210071B782 /* SVGGraphicsElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SVGGraphicsElement.h; sourceTree = "<group>"; }; … … 18138 18134 B22279220D00BF210071B783 /* SVGStyledElement.h */, 18139 18135 B22279230D00BF210071B783 /* SVGStyledElement.idl */, 18140 B222791D0D00BF210071B782 /* SVGStyledLocatableElement.cpp */,18141 B222791E0D00BF210071B782 /* SVGStyledLocatableElement.h */,18142 18136 B222791F0D00BF210071B782 /* SVGGraphicsElement.cpp */, 18143 18137 B22279200D00BF210071B782 /* SVGGraphicsElement.h */, … … 23684 23678 B2227AAC0D00BF220071B782 /* SVGStringList.h in Headers */, 23685 23679 B2227AB80D00BF220071B783 /* SVGStyledElement.h in Headers */, 23686 B2227AB40D00BF220071B782 /* SVGStyledLocatableElement.h in Headers */,23687 23680 B2227AB60D00BF220071B782 /* SVGGraphicsElement.h in Headers */, 23688 23681 B2227AB80D00BF220071B782 /* SVGStyleElement.h in Headers */, … … 26714 26707 B2227AAB0D00BF220071B782 /* SVGStringList.cpp in Sources */, 26715 26708 B2227AB70D00BF220071B783 /* SVGStyledElement.cpp in Sources */, 26716 B2227AB30D00BF220071B782 /* SVGStyledLocatableElement.cpp in Sources */,26717 26709 B2227AB50D00BF220071B782 /* SVGGraphicsElement.cpp in Sources */, 26718 26710 B2227AB70D00BF220071B782 /* SVGStyleElement.cpp in Sources */, -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r152168 r152299 1502 1502 || $typename eq "SVGRectElement" 1503 1503 || $typename eq "SVGSVGElement" 1504 || $typename eq "SVGStyledLocatableElement"1505 1504 || $typename eq "SVGGraphicsElement" 1506 1505 || $typename eq "SVGSwitchElement" -
trunk/Source/WebCore/svg/SVGAllInOne.cpp
r152167 r152299 158 158 #include "SVGStyleElement.cpp" 159 159 #include "SVGStyledElement.cpp" 160 #include "SVGStyledLocatableElement.cpp"161 160 #include "SVGSwitchElement.cpp" 162 161 #include "SVGSymbolElement.cpp" -
trunk/Source/WebCore/svg/SVGElement.cpp
r152156 r152299 38 38 #include "SVGElementInstance.h" 39 39 #include "SVGElementRareData.h" 40 #include "SVGGraphicsElement.h" 40 41 #include "SVGNames.h" 41 42 #include "SVGSVGElement.h" 42 #include "SVGStyledLocatableElement.h"43 43 #include "SVGTextElement.h" 44 44 #include "ScriptEventListener.h" … … 256 256 bool SVGElement::getBoundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrategy styleUpdateStrategy) 257 257 { 258 if (isS tyledLocatable()) {259 rect = toSVG StyledLocatableElement(this)->getBBox(styleUpdateStrategy);258 if (isSVGGraphicsElement()) { 259 rect = toSVGGraphicsElement(this)->getBBox(styleUpdateStrategy); 260 260 return true; 261 261 } -
trunk/Source/WebCore/svg/SVGElement.h
r152167 r152299 61 61 virtual bool isSVGStyledElement() const { return false; } 62 62 virtual bool isSVGGraphicsElement() const { return false; } 63 virtual bool isStyledLocatable() const { return false; }64 63 virtual bool isSVGSVGElement() const { return false; } 65 64 virtual bool isFilterEffect() const { return false; } -
trunk/Source/WebCore/svg/SVGGraphicsElement.cpp
r152167 r152299 39 39 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGGraphicsElement) 40 40 REGISTER_LOCAL_ANIMATED_PROPERTY(transform) 41 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGStyled LocatableElement)41 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGStyledElement) 42 42 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) 43 43 END_REGISTER_ANIMATED_PROPERTIES 44 44 45 45 SVGGraphicsElement::SVGGraphicsElement(const QualifiedName& tagName, Document* document, ConstructionType constructionType) 46 : SVGStyled LocatableElement(tagName, document, constructionType)46 : SVGStyledElement(tagName, document, constructionType) 47 47 { 48 48 registerAnimatedPropertiesForSVGGraphicsElement(); … … 103 103 { 104 104 if (!isSupportedAttribute(name)) { 105 SVGStyled LocatableElement::parseAttribute(name, value);105 SVGStyledElement::parseAttribute(name, value); 106 106 return; 107 107 } … … 121 121 { 122 122 if (!isSupportedAttribute(attrName)) { 123 SVGStyled LocatableElement::svgAttributeChanged(attrName);123 SVGStyledElement::svgAttributeChanged(attrName); 124 124 return; 125 125 } -
trunk/Source/WebCore/svg/SVGGraphicsElement.h
r152167 r152299 24 24 #if ENABLE(SVG) 25 25 #include "SVGAnimatedTransformList.h" 26 #include "SVGStyled LocatableElement.h"26 #include "SVGStyledElement.h" 27 27 #include "SVGTests.h" 28 28 #include "SVGTransformable.h" … … 33 33 class Path; 34 34 35 class SVGGraphicsElement : public SVGStyled LocatableElement, public SVGTransformable, public SVGTests {35 class SVGGraphicsElement : public SVGStyledElement, public SVGTransformable, public SVGTests { 36 36 public: 37 37 virtual ~SVGGraphicsElement(); -
trunk/Source/WebCore/svg/SVGLocatable.cpp
r145598 r152299 28 28 #include "RenderObject.h" 29 29 #include "SVGException.h" 30 #include "SVGGraphicsElement.h" 30 31 #include "SVGNames.h" 31 #include "SVGStyledLocatableElement.h"32 32 33 33 namespace WebCore { … … 104 104 AffineTransform ctm = getCTM(styleUpdateStrategy); 105 105 106 if (target && target->isS tyledLocatable()) {107 AffineTransform targetCTM = toSVG StyledLocatableElement(target)->getCTM(styleUpdateStrategy);106 if (target && target->isSVGGraphicsElement()) { 107 AffineTransform targetCTM = toSVGGraphicsElement(target)->getCTM(styleUpdateStrategy); 108 108 if (!targetCTM.isInvertible()) { 109 109 ec = SVGException::SVG_MATRIX_NOT_INVERTABLE; -
trunk/Source/WebCore/svg/SVGStyledElement.cpp
r152167 r152299 427 427 AffineTransform SVGStyledElement::localCoordinateSpaceTransform(SVGLocatable::CTMScope) const 428 428 { 429 // To be overriden by SVG StyledLocatableElement/SVGGraphicsElement (or as special case SVGTextElement and SVGPatternElement)429 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement and SVGPatternElement) 430 430 return AffineTransform(); 431 431 }
Note: See TracChangeset
for help on using the changeset viewer.