Index: Source/core/rendering/AbstractInlineTextBox.cpp |
diff --git a/Source/core/rendering/AbstractInlineTextBox.cpp b/Source/core/rendering/AbstractInlineTextBox.cpp |
index 6598e576154ea542cb017126ffd1fe263b9e1d00..82c182e1d9c1ac2aee6dd89404a17543b80938b0 100644 |
--- a/Source/core/rendering/AbstractInlineTextBox.cpp |
+++ b/Source/core/rendering/AbstractInlineTextBox.cpp |
@@ -149,7 +149,7 @@ String AbstractInlineTextBox::text() const |
unsigned start = m_inlineTextBox->start(); |
unsigned len = m_inlineTextBox->len(); |
if (Node* node = m_renderText->node()) { |
- RefPtr<Range> range = Range::create(node->document()); |
+ RefPtrWillBeRawPtr<Range> range = Range::create(node->document()); |
range->setStart(node, start, IGNORE_EXCEPTION); |
range->setEnd(node, start + len, IGNORE_EXCEPTION); |
return plainText(range.get(), TextIteratorIgnoresStyleVisibility); |