| Index: Source/core/rendering/svg/RenderSVGRoot.h
|
| diff --git a/Source/core/rendering/svg/RenderSVGRoot.h b/Source/core/rendering/svg/RenderSVGRoot.h
|
| index 1ed703a0356caea1f7ace9348202798f37e744b3..2e246679a298ec0f13f86108d2a09564bd26526d 100644
|
| --- a/Source/core/rendering/svg/RenderSVGRoot.h
|
| +++ b/Source/core/rendering/svg/RenderSVGRoot.h
|
| @@ -24,7 +24,6 @@
|
| #define RenderSVGRoot_h
|
|
|
| #include "core/rendering/RenderReplaced.h"
|
| -#include "platform/geometry/FloatRect.h"
|
|
|
| namespace blink {
|
|
|
| @@ -41,16 +40,10 @@ public:
|
|
|
| virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio) const OVERRIDE;
|
|
|
| - RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); }
|
| - RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); return children()->lastChild(); }
|
| -
|
| // If you have a RenderSVGRoot, use firstChild or lastChild instead.
|
| void slowFirstChild() const WTF_DELETED_FUNCTION;
|
| void slowLastChild() const WTF_DELETED_FUNCTION;
|
|
|
| - const RenderObjectChildList* children() const { return &m_children; }
|
| - RenderObjectChildList* children() { return &m_children; }
|
| -
|
| bool isLayoutSizeChanged() const { return m_isLayoutSizeChanged; }
|
| virtual void setNeedsBoundariesUpdate() OVERRIDE { m_needsBoundariesOrTransformUpdate = true; }
|
| virtual void setNeedsTransformUpdate() OVERRIDE { m_needsBoundariesOrTransformUpdate = true; }
|
| @@ -70,6 +63,12 @@ public:
|
| const AffineTransform& localToBorderBoxTransform() const { return m_localToBorderBoxTransform; }
|
|
|
| private:
|
| + RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); }
|
| + RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); return children()->lastChild(); }
|
| +
|
| + const RenderObjectChildList* children() const { return &m_children; }
|
| + RenderObjectChildList* children() { return &m_children; }
|
| +
|
| virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children(); }
|
| virtual const RenderObjectChildList* virtualChildren() const OVERRIDE { return children(); }
|
|
|
|
|