| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 78fe20a9703fd6bc3632d4369dd5aae62e3beb79..e14055457c265de830f8809f82b5109ef12c1438 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1224,7 +1224,7 @@ PassRefPtr<Range> Document::caretRangeFromPoint(int x, int y)
|
| if (shadowAncestorNode != node) {
|
| unsigned offset = shadowAncestorNode->nodeIndex();
|
| ContainerNode* container = shadowAncestorNode->parentNode();
|
| - return Range::create(this, container, offset, container, offset);
|
| + return Range::create(*this, container, offset, container, offset);
|
| }
|
|
|
| RenderObject* renderer = node->renderer();
|
| @@ -1235,7 +1235,7 @@ PassRefPtr<Range> Document::caretRangeFromPoint(int x, int y)
|
| return 0;
|
|
|
| Position rangeCompliantPosition = positionWithAffinity.position().parentAnchoredEquivalent();
|
| - return Range::create(this, rangeCompliantPosition, rangeCompliantPosition);
|
| + return Range::create(*this, rangeCompliantPosition, rangeCompliantPosition);
|
| }
|
|
|
| /*
|
| @@ -1457,7 +1457,7 @@ Settings* Document::settings() const
|
|
|
| PassRefPtr<Range> Document::createRange()
|
| {
|
| - return Range::create(this);
|
| + return Range::create(*this);
|
| }
|
|
|
| PassRefPtr<NodeIterator> Document::createNodeIterator(Node* root, ExceptionState& es)
|
|
|