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