Chromium Code Reviews| Index: Source/core/rendering/shapes/ShapeOutsideInfo.h |
| diff --git a/Source/core/rendering/shapes/ShapeOutsideInfo.h b/Source/core/rendering/shapes/ShapeOutsideInfo.h |
| index 2ff53d987262368b09d3cf25e24639cf521820b4..c3fb3b6fbd4144773ef010818ad730a09343aa3c 100644 |
| --- a/Source/core/rendering/shapes/ShapeOutsideInfo.h |
| +++ b/Source/core/rendering/shapes/ShapeOutsideInfo.h |
| @@ -89,14 +89,19 @@ public: |
| bool isShapeDirty() { return !m_shape.get(); } |
| LayoutSize shapeSize() const { return m_referenceBoxLogicalSize; } |
| -private: |
| - ShapeOutsideInfo(const RenderBox& renderer) |
| + LayoutRect computedShapePhysicalBoundingBox() const; |
| + FloatPoint shapeToRendererPoint(FloatPoint) const; |
| + FloatSize shapeToRendererSize(FloatSize) const; |
| + |
| + const Shape& computedShape() const; |
| + |
| +protected: |
| + explicit ShapeOutsideInfo(const RenderBox& renderer) |
| : m_renderer(renderer) |
| , m_lineOverlapsShape(false) |
| { } |
| - const Shape& computedShape() const; |
| - |
| +private: |
| LayoutUnit logicalTopOffset() const; |
| LayoutUnit logicalLeftOffset() const; |
| @@ -111,8 +116,10 @@ private: |
| LayoutUnit m_lineHeight; |
| const RenderBox& m_renderer; |
| + |
|
Bear Travis
2014/04/17 20:26:45
Added line break. There's another one below. It's
Habib Virji
2014/04/23 16:28:33
Done.
|
| mutable OwnPtr<Shape> m_shape; |
| LayoutSize m_referenceBoxLogicalSize; |
| + |
| LayoutUnit m_leftMarginBoxDelta; |
| LayoutUnit m_rightMarginBoxDelta; |
| LayoutUnit m_borderBoxLineTop; |