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

Unified Diff: Source/core/rendering/shapes/ShapeOutsideInfo.h

Issue 185393015: Rename shapeSize and others to make ShapeInfo and friends easier to understand (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/core/rendering/shapes/ShapeOutsideInfo.h
diff --git a/Source/core/rendering/shapes/ShapeOutsideInfo.h b/Source/core/rendering/shapes/ShapeOutsideInfo.h
index 9e0dfdc2e380e91ac9ed488380cad68859087e6b..99c34a0aa657f619a44ca8939fbd60d298d5a182 100644
--- a/Source/core/rendering/shapes/ShapeOutsideInfo.h
+++ b/Source/core/rendering/shapes/ShapeOutsideInfo.h
@@ -52,11 +52,11 @@ public:
virtual bool lineOverlapsShapeBounds() const OVERRIDE
{
- return computedShape()->lineOverlapsShapeMarginBounds(m_shapeLineTop, m_lineHeight);
+ return computedShape()->lineOverlapsShapeMarginBounds(m_referenceBoxLineTop, m_lineHeight);
}
protected:
- virtual LayoutBox resolvedLayoutBox() const OVERRIDE
+ virtual LayoutBox referenceBox() const OVERRIDE
{
if (shapeValue()->layoutBox() == BoxMissing)
return MarginBox;
@@ -77,7 +77,7 @@ private:
LayoutUnit m_leftMarginBoxDelta;
LayoutUnit m_rightMarginBoxDelta;
- LayoutUnit m_lineTop;
+ LayoutUnit m_borderBoxLineTop;
bool m_lineOverlapsShape;
};

Powered by Google App Engine
This is Rietveld 408576698