Index: sky/engine/core/rendering/line/LineWidth.h |
diff --git a/sky/engine/core/rendering/line/LineWidth.h b/sky/engine/core/rendering/line/LineWidth.h |
index 0572b30c55445ae0c517f53ff6b0f7ea82df7843..ed839fa0c8bddc1ee05a2faa26b7ad80cc99b040 100644 |
--- a/sky/engine/core/rendering/line/LineWidth.h |
+++ b/sky/engine/core/rendering/line/LineWidth.h |
@@ -36,14 +36,14 @@ namespace blink { |
class FloatingObject; |
class RenderObject; |
-class RenderBlockFlow; |
+class RenderParagraph; |
enum IndentTextOrNot { DoNotIndentText, IndentText }; |
enum WhitespaceTreatment { ExcludeWhitespace, IncludeWhitespace }; |
class LineWidth { |
public: |
- LineWidth(RenderBlockFlow&, bool isFirstLine, IndentTextOrNot shouldIndentText); |
+ LineWidth(RenderParagraph&, bool isFirstLine, IndentTextOrNot shouldIndentText); |
bool fitsOnLine() const { return currentWidth() <= (m_availableWidth + LayoutUnit::epsilon()); } |
bool fitsOnLine(float extra) const { return currentWidth() + extra <= (m_availableWidth + LayoutUnit::epsilon()); } |
@@ -71,7 +71,7 @@ private: |
void computeAvailableWidthFromLeftAndRight(); |
void updateLineDimension(LayoutUnit newLineTop, LayoutUnit newLineWidth, const float& newLineLeft, const float& newLineRight); |
- RenderBlockFlow& m_block; |
+ RenderParagraph& m_block; |
float m_uncommittedWidth; |
float m_committedWidth; |
float m_trailingWhitespaceWidth; |