X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Frendering%2Fsvg%2FRenderSVGContainer.h;h=aab9f9afde66d2f6ed9eeb0ef3c0aca615f3d54a;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=b7235fbaded387bc6dba0bec510b5239942d4806;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/rendering/svg/RenderSVGContainer.h b/src/third_party/WebKit/Source/core/rendering/svg/RenderSVGContainer.h index b7235fb..aab9f9a 100644 --- a/src/third_party/WebKit/Source/core/rendering/svg/RenderSVGContainer.h +++ b/src/third_party/WebKit/Source/core/rendering/svg/RenderSVGContainer.h @@ -25,7 +25,7 @@ #include "core/rendering/svg/RenderSVGModelObject.h" -namespace WebCore { +namespace blink { class SVGElement; @@ -33,6 +33,7 @@ class RenderSVGContainer : public RenderSVGModelObject { public: explicit RenderSVGContainer(SVGElement*); virtual ~RenderSVGContainer(); + virtual void trace(Visitor*) OVERRIDE; RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); } RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); return children()->lastChild(); } @@ -60,11 +61,11 @@ protected: virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE FINAL; virtual void removeChild(RenderObject*) OVERRIDE FINAL; - virtual void addFocusRingRects(Vector&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE FINAL; + virtual void addFocusRingRects(Vector&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer = 0) const OVERRIDE FINAL; virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_objectBoundingBox; } virtual FloatRect strokeBoundingBox() const OVERRIDE FINAL { return m_strokeBoundingBox; } - virtual FloatRect paintInvalidationRectInLocalCoordinates() const OVERRIDE FINAL { return m_repaintBoundingBox; } + virtual FloatRect paintInvalidationRectInLocalCoordinates() const OVERRIDE FINAL { return m_paintInvalidationBoundingBox; } virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) OVERRIDE; @@ -86,12 +87,12 @@ private: FloatRect m_objectBoundingBox; bool m_objectBoundingBoxValid; FloatRect m_strokeBoundingBox; - FloatRect m_repaintBoundingBox; + FloatRect m_paintInvalidationBoundingBox; bool m_needsBoundariesUpdate : 1; }; DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGContainer, isSVGContainer()); -} // namespace WebCore +} // namespace blink #endif // RenderSVGContainer_h