Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 720f78c69a4bf8ac0d412665d0551c23339e41c4..d4c3cec98887344c1864f9db7cb99409cbc1cbab 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -868,7 +868,7 @@ DocumentMarker* Internals::markerAt(Node* node, const String& markerType, unsign |
return markers[index]; |
} |
-PassRefPtr<Range> Internals::markerRangeForNode(Node* node, const String& markerType, unsigned index, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<Range> Internals::markerRangeForNode(Node* node, const String& markerType, unsigned index, ExceptionState& exceptionState) |
{ |
DocumentMarker* marker = markerAt(node, markerType, index, exceptionState); |
if (!marker) |
@@ -1078,7 +1078,7 @@ void Internals::scrollElementToRect(Element* element, long x, long y, long w, lo |
frameView->scrollElementToRect(element, IntRect(x, y, w, h)); |
} |
-PassRefPtr<Range> Internals::rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<Range> Internals::rangeFromLocationAndLength(Element* scope, int rangeLocation, int rangeLength, ExceptionState& exceptionState) |
{ |
if (!scope) { |
exceptionState.throwDOMException(InvalidAccessError, ExceptionMessages::argumentNullOrIncorrectType(1, "Element")); |