Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 9bf2eb2e39b265ec949b830f4135d6e064e215da..f4e5d61f096e88c7de6716daed2d4bdffcf916a6 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -1232,7 +1232,7 @@ Element* Document::elementFromPoint(int x, int y) const |
return TreeScope::elementFromPoint(x, y); |
} |
-PassRefPtr<Range> Document::caretRangeFromPoint(int x, int y) |
+PassRefPtrWillBeRawPtr<Range> Document::caretRangeFromPoint(int x, int y) |
{ |
if (!renderView()) |
return nullptr; |
@@ -1479,7 +1479,7 @@ Settings* Document::settings() const |
return m_frame ? m_frame->settings() : 0; |
} |
-PassRefPtr<Range> Document::createRange() |
+PassRefPtrWillBeRawPtr<Range> Document::createRange() |
{ |
return Range::create(*this); |
} |