Index: Source/core/editing/iterators/TextIterator.cpp |
diff --git a/Source/core/editing/iterators/TextIterator.cpp b/Source/core/editing/iterators/TextIterator.cpp |
index d91329286534dc2f8e6302278582912216401fcf..0d9a4f9b66b533de75a5e7ced2956a2187e05d3a 100644 |
--- a/Source/core/editing/iterators/TextIterator.cpp |
+++ b/Source/core/editing/iterators/TextIterator.cpp |
@@ -804,7 +804,7 @@ static bool shouldEmitExtraNewlineForNode(Node* node) |
|| node->hasTagName(h5Tag) |
|| node->hasTagName(h6Tag) |
|| node->hasTagName(pTag)) { |
- const LayoutStyle* style = r->style(); |
+ const ComputedStyle* style = r->style(); |
if (style) { |
int bottomMargin = toLayoutBox(r)->collapsedMarginAfter(); |
int fontSize = style->fontDescription().computedPixelSize(); |