Changeset 128009 in webkit


Ignore:
Timestamp:
Sep 9, 2012 6:09:40 PM (12 years ago)
Author:
mitz@apple.com
Message:

Try to fix the build after r128006.

  • dom/Element.cpp:

(WebCore::Element::boundsInRootViewSpace): Updated for rename.
(WebCore::Element::getBoundingClientRect): Ditto.

  • svg/SVGElement.cpp:

(WebCore::SVGElement::getBoundingBox): Renamed boundingBox() to this, to avoid clashing
with the virtual function on Node. The 'get' prefix also indicates that the result is
returned in an out parameter.

  • svg/SVGElement.h:

(SVGElement):

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r128008 r128009  
     12012-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
    1152012-09-09  Patrick Gansterer  <paroga@webkit.org>
    216
  • trunk/Source/WebCore/dom/Element.cpp

    r128006 r128009  
    533533        SVGElement* svgElement = static_cast<SVGElement*>(this);
    534534        FloatRect localRect;
    535         if (svgElement->boundingBox(localRect))
     535        if (svgElement->getBoundingBox(localRect))
    536536            quads.append(renderer()->localToAbsoluteQuad(localRect));
    537537    } else
     
    581581        SVGElement* svgElement = static_cast<SVGElement*>(this);
    582582        FloatRect localRect;
    583         if (svgElement->boundingBox(localRect))
     583        if (svgElement->getBoundingBox(localRect))
    584584            quads.append(renderer()->localToAbsoluteQuad(localRect));
    585585    } else
  • trunk/Source/WebCore/svg/SVGElement.cpp

    r126926 r128009  
    249249}
    250250
    251 bool SVGElement::boundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrategy styleUpdateStrategy)
     251bool SVGElement::getBoundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrategy styleUpdateStrategy)
    252252{
    253253    if (isStyledLocatable()) {
  • trunk/Source/WebCore/svg/SVGElement.h

    r127811 r128009  
    8484    const HashSet<SVGElementInstance*>& instancesForElement() const;
    8585
    86     bool boundingBox(FloatRect&, SVGLocatable::StyleUpdateStrategy = SVGLocatable::AllowStyleUpdate);
     86    bool getBoundingBox(FloatRect&, SVGLocatable::StyleUpdateStrategy = SVGLocatable::AllowStyleUpdate);
    8787
    8888    void setCursorElement(SVGCursorElement*);
Note: See TracChangeset for help on using the changeset viewer.