Index: sky/engine/core/rendering/line/BreakingContextInlineHeaders.h |
diff --git a/sky/engine/core/rendering/line/BreakingContextInlineHeaders.h b/sky/engine/core/rendering/line/BreakingContextInlineHeaders.h |
index 196acd6d4a53ef3f04dafc5e7706559d14215000..2171e7a0a2d3e7c354b88a67acbccaacb8d473bd 100644 |
--- a/sky/engine/core/rendering/line/BreakingContextInlineHeaders.h |
+++ b/sky/engine/core/rendering/line/BreakingContextInlineHeaders.h |
@@ -45,7 +45,7 @@ const unsigned cMaxLineDepth = 200; |
class BreakingContext { |
public: |
- BreakingContext(InlineBidiResolver& resolver, LineInfo& inLineInfo, LineWidth& lineWidth, RenderTextInfo& inRenderTextInfo, FloatingObject* inLastFloatFromPreviousLine, bool appliedStartWidth, RenderBlockFlow* block) |
+ BreakingContext(InlineBidiResolver& resolver, LineInfo& inLineInfo, LineWidth& lineWidth, RenderTextInfo& inRenderTextInfo, FloatingObject* inLastFloatFromPreviousLine, bool appliedStartWidth, RenderParagraph* block) |
: m_resolver(resolver) |
, m_current(resolver.position()) |
, m_lineBreak(resolver.position()) |
@@ -105,7 +105,7 @@ private: |
InlineIterator m_lineBreak; |
InlineIterator m_startOfIgnoredSpaces; |
- RenderBlockFlow* m_block; |
+ RenderParagraph* m_block; |
RenderObject* m_lastObject; |
RenderObject* m_nextObject; |
@@ -292,7 +292,7 @@ inline void BreakingContext::handleOutOfFlowPositioned(Vector<RenderBox*>& posit |
// This is currently just used for list markers and inline flows that have line boxes. Neither should |
// have an effect on whitespace at the start of the line. |
-inline bool shouldSkipWhitespaceAfterStartObject(RenderBlockFlow* block, RenderObject* o, LineMidpointState& lineMidpointState) |
+inline bool shouldSkipWhitespaceAfterStartObject(RenderParagraph* block, RenderObject* o, LineMidpointState& lineMidpointState) |
{ |
RenderObject* next = bidiNextSkippingEmptyInlines(block, o); |
while (next && next->isFloatingOrOutOfFlowPositioned()) |