Changeset 128009 in webkit
- Timestamp:
- Sep 9, 2012 6:09:40 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r128008 r128009 1 2012-09-09 Dan Bernstein <mitz@apple.com> 2 3 Try to fix the build after r128006. 4 5 * dom/Element.cpp: 6 (WebCore::Element::boundsInRootViewSpace): Updated for rename. 7 (WebCore::Element::getBoundingClientRect): Ditto. 8 * svg/SVGElement.cpp: 9 (WebCore::SVGElement::getBoundingBox): Renamed boundingBox() to this, to avoid clashing 10 with the virtual function on Node. The 'get' prefix also indicates that the result is 11 returned in an out parameter. 12 * svg/SVGElement.h: 13 (SVGElement): 14 1 15 2012-09-09 Patrick Gansterer <paroga@webkit.org> 2 16 -
trunk/Source/WebCore/dom/Element.cpp
r128006 r128009 533 533 SVGElement* svgElement = static_cast<SVGElement*>(this); 534 534 FloatRect localRect; 535 if (svgElement-> boundingBox(localRect))535 if (svgElement->getBoundingBox(localRect)) 536 536 quads.append(renderer()->localToAbsoluteQuad(localRect)); 537 537 } else … … 581 581 SVGElement* svgElement = static_cast<SVGElement*>(this); 582 582 FloatRect localRect; 583 if (svgElement-> boundingBox(localRect))583 if (svgElement->getBoundingBox(localRect)) 584 584 quads.append(renderer()->localToAbsoluteQuad(localRect)); 585 585 } else -
trunk/Source/WebCore/svg/SVGElement.cpp
r126926 r128009 249 249 } 250 250 251 bool SVGElement:: boundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrategy styleUpdateStrategy)251 bool SVGElement::getBoundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrategy styleUpdateStrategy) 252 252 { 253 253 if (isStyledLocatable()) { -
trunk/Source/WebCore/svg/SVGElement.h
r127811 r128009 84 84 const HashSet<SVGElementInstance*>& instancesForElement() const; 85 85 86 bool boundingBox(FloatRect&, SVGLocatable::StyleUpdateStrategy = SVGLocatable::AllowStyleUpdate);86 bool getBoundingBox(FloatRect&, SVGLocatable::StyleUpdateStrategy = SVGLocatable::AllowStyleUpdate); 87 87 88 88 void setCursorElement(SVGCursorElement*);
Note: See TracChangeset
for help on using the changeset viewer.