Index: Source/core/dom/Range.cpp |
diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp |
index 667caf6034b6ee254d7c57530f09995b3af638fa..b3ce43a8513300c0934d19601d11391979ecc068 100644 |
--- a/Source/core/dom/Range.cpp |
+++ b/Source/core/dom/Range.cpp |
@@ -1430,7 +1430,7 @@ void Range::textRects(Vector<IntRect>& rects, bool useSelectionHeight, RangeInFi |
Node* stopNode = pastLastNode(); |
for (Node* node = firstNode(); node != stopNode; node = NodeTraversal::next(*node)) { |
- LayoutObject* r = node->renderer(); |
+ LayoutObject* r = node->layoutObject(); |
if (!r || !r->isText()) |
continue; |
LayoutText* renderText = toLayoutText(r); |
@@ -1458,7 +1458,7 @@ void Range::textQuads(Vector<FloatQuad>& quads, bool useSelectionHeight, RangeIn |
Node* stopNode = pastLastNode(); |
for (Node* node = firstNode(); node != stopNode; node = NodeTraversal::next(*node)) { |
- LayoutObject* r = node->renderer(); |
+ LayoutObject* r = node->layoutObject(); |
if (!r || !r->isText()) |
continue; |
LayoutText* renderText = toLayoutText(r); |
@@ -1735,7 +1735,7 @@ void Range::getBorderAndTextQuads(Vector<FloatQuad>& quads) const |
} |
} |
} else if (node->isTextNode()) { |
- if (LayoutText* renderText = toText(node)->renderer()) { |
+ if (LayoutText* renderText = toText(node)->layoutObject()) { |
int startOffset = (node == startContainer) ? m_start.offset() : 0; |
int endOffset = (node == endContainer) ? m_end.offset() : INT_MAX; |