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