Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h

Issue 1679743006: Expand IntrinsicSizingInfo for SVG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@propagate-whether-svg-has
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698