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

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

Issue 1604993003: Set intrinsic size for inline SVG earlier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoid isEmpty(). Set individual width/height values. Add test for this. Created 4 years, 11 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 df7b3718326281ddac221b242c7df2f946e82bd1..ed806f584b7f162d612038925bdf17f38c9ca208 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
@@ -114,6 +114,8 @@ private:
void updateCachedBoundaries();
void buildLocalToBorderBoxTransform();
+ FloatSize calculateIntrinsicSize() const;
+
LayoutObjectChildList m_children;
IntSize m_containerSize;
FloatRect m_objectBoundingBox;

Powered by Google App Engine
This is Rietveld 408576698