Index: Source/core/editing/iterators/TextIterator.cpp |
diff --git a/Source/core/editing/iterators/TextIterator.cpp b/Source/core/editing/iterators/TextIterator.cpp |
index 915f8f58853e7aef73aa53e9033ce39140cf4485..6f7fcb23ee1a05537d887528a0bb84507ece37e0 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)) { |
- LayoutStyle* style = r->style(); |
+ const LayoutStyle* style = r->style(); |
if (style) { |
int bottomMargin = toRenderBox(r)->collapsedMarginAfter(); |
int fontSize = style->fontDescription().computedPixelSize(); |