Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
index 39c0102322fb52b1ac6ce3ef2d1d17b6e461d0e8..c76c483e2a4f812f9bbbc5272d6db8bf74ee599a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -823,7 +823,17 @@ public: |
bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().contains(m_overflow->visualOverflowRect()); } |
virtual bool needsPreferredWidthsRecalculation() const; |
- virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */, double& /* intrinsicRatio */) const { } |
+ |
+ struct IntrinsicSizingInfo { |
+ STACK_ALLOCATED(); |
+ IntrinsicSizingInfo() : aspectRatio(0) {} |
+ |
+ FloatSize size; |
+ double aspectRatio; |
+ }; |
+ |
+ // Computes the logical intrinsic sizing information. |
+ virtual void computeIntrinsicSizingInfo(IntrinsicSizingInfo&) const { } |
IntSize scrolledContentOffset() const; |
void mapScrollingContentsRectToBoxSpace(LayoutRect&) const; |