Index: Source/core/rendering/RenderRegion.h |
diff --git a/Source/core/rendering/RenderRegion.h b/Source/core/rendering/RenderRegion.h |
index b0b5fe1b0b2286ea114a3f4517ee015ac6526545..a89ea71b885a940102406a6fc2ee91c61fbeeee3 100644 |
--- a/Source/core/rendering/RenderRegion.h |
+++ b/Source/core/rendering/RenderRegion.h |
@@ -42,9 +42,9 @@ public: |
virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRenderRegion || RenderBlockFlow::isOfType(type); } |
- void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionRect = rect; } |
- LayoutRect flowThreadPortionRect() const { return m_flowThreadPortionRect; } |
+ virtual LayoutRect flowThreadPortionRect() const = 0; |
LayoutRect flowThreadPortionOverflowRect() const; |
+ LayoutRect overflowRectForFlowThreadPortion(const LayoutRect& flowThreadPortionRect, bool isFirstPortion, bool isLastPortion) const; |
RenderFlowThread* flowThread() const { return m_flowThread; } |
@@ -69,8 +69,6 @@ public: |
protected: |
virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override final; |
- LayoutRect overflowRectForFlowThreadPortion(const LayoutRect& flowThreadPortionRect, bool isFirstPortion, bool isLastPortion) const; |
- |
private: |
virtual void layoutBlock(bool relayoutChildren) override final; |
@@ -78,7 +76,6 @@ protected: |
RenderFlowThread* m_flowThread; |
private: |
- LayoutRect m_flowThreadPortionRect; |
bool m_isValid : 1; |
}; |