Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h |
index 1b56163c65a865da9487423af6a82d10c0fd9c36..bd31eac60b3941938a8c33f5d03785c10913f157 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h |
@@ -28,6 +28,7 @@ |
namespace blink { |
class SVGElement; |
+class SVGSVGElement; |
class LayoutSVGRoot final : public LayoutReplaced { |
public: |
@@ -114,7 +115,7 @@ private: |
void updateCachedBoundaries(); |
void buildLocalToBorderBoxTransform(); |
- FloatSize calculateIntrinsicSize() const; |
+ static FloatSize calculateIntrinsicSize(SVGSVGElement*); |
fs
2016/02/09 18:37:54
Nit: Could this be local to LayoutSVGRoot.cpp even
davve
2016/02/11 08:52:37
Done.
|
LayoutObjectChildList m_children; |
IntSize m_containerSize; |