| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index c1df2d6e901ca7d8867db37f10611d8a034eedfb..5663988ae61aef9420577a71f9e386e5da9490f3 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -2606,7 +2606,7 @@ void Node::removedLastRef()
|
|
|
| void Node::textRects(Vector<IntRect>& rects) const
|
| {
|
| - RefPtr<Range> range = Range::create(&document());
|
| + RefPtr<Range> range = Range::create(document());
|
| range->selectNodeContents(const_cast<Node*>(this), IGNORE_EXCEPTION);
|
| range->textRects(rects);
|
| }
|
|
|