Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/layout/LayoutReplaced.h

Issue 1603603002: Move specialized computePositionedLogicalWidth to LayoutReplaced. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/layout/LayoutReplaced.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.h b/third_party/WebKit/Source/core/layout/LayoutReplaced.h
index fa5f213f79ffebbcf6344a4c413d63c208f87dd0..f9f12ab8fde767e1a612b2eee9e58e9c249a3d24 100644
--- a/third_party/WebKit/Source/core/layout/LayoutReplaced.h
+++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.h
@@ -81,6 +81,9 @@ protected:
LayoutSize intrinsicSize() const final { return m_intrinsicSize; }
void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intrinsicRatio) const override;
+ void computePositionedLogicalWidth(LogicalExtentComputedValues&) const override;
+ void computePositionedLogicalHeight(LogicalExtentComputedValues&) const override;
+
void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const final;
virtual LayoutUnit intrinsicContentLogicalHeight() const { return intrinsicLogicalHeight(); }

Powered by Google App Engine