Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index d4c3cec98887344c1864f9db7cb99409cbc1cbab..3f88666cfba22a41c3ed8ee49819cb87e86e5e4d 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -765,7 +765,7 @@ PassRefPtrWillBeRawPtr<PagePopupController> Internals::pagePopupController() |
return s_pagePopupDriver ? s_pagePopupDriver->pagePopupController() : 0; |
} |
-PassRefPtr<ClientRect> Internals::unscaledViewportRect(ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRect> Internals::unscaledViewportRect(ExceptionState& exceptionState) |
{ |
Document* document = contextDocument(); |
if (!document || !document->view()) { |
@@ -776,7 +776,7 @@ PassRefPtr<ClientRect> Internals::unscaledViewportRect(ExceptionState& exception |
return ClientRect::create(document->view()->visibleContentRect()); |
} |
-PassRefPtr<ClientRect> Internals::absoluteCaretBounds(ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRect> Internals::absoluteCaretBounds(ExceptionState& exceptionState) |
{ |
Document* document = contextDocument(); |
if (!document || !document->frame()) { |
@@ -787,7 +787,7 @@ PassRefPtr<ClientRect> Internals::absoluteCaretBounds(ExceptionState& exceptionS |
return ClientRect::create(document->frame()->selection().absoluteCaretBounds()); |
} |
-PassRefPtr<ClientRect> Internals::boundingBox(Element* element, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRect> Internals::boundingBox(Element* element, ExceptionState& exceptionState) |
{ |
if (!element) { |
exceptionState.throwDOMException(InvalidAccessError, ExceptionMessages::argumentNullOrIncorrectType(1, "Element")); |
@@ -801,7 +801,7 @@ PassRefPtr<ClientRect> Internals::boundingBox(Element* element, ExceptionState& |
return ClientRect::create(renderer->absoluteBoundingBoxRectIgnoringTransforms()); |
} |
-PassRefPtr<ClientRectList> Internals::inspectorHighlightRects(Document* document, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRectList> Internals::inspectorHighlightRects(Document* document, ExceptionState& exceptionState) |
{ |
if (!document || !document->page()) { |
exceptionState.throwDOMException(InvalidAccessError, document ? "The document's Page cannot be retrieved." : "No context document can be obtained."); |
@@ -1207,7 +1207,7 @@ Node* Internals::touchNodeAdjustedToBestContextMenuNode(long x, long y, long wid |
return targetNode; |
} |
-PassRefPtr<ClientRect> Internals::bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRect> Internals::bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) |
{ |
if (!document || !document->frame()) { |
exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); |
@@ -1863,7 +1863,7 @@ String Internals::repaintRectsAsText(Document* document, ExceptionState& excepti |
return document->frame()->trackedRepaintRectsAsText(); |
} |
-PassRefPtr<ClientRectList> Internals::repaintRects(Element* element, ExceptionState& exceptionState) const |
+PassRefPtrWillBeRawPtr<ClientRectList> Internals::repaintRects(Element* element, ExceptionState& exceptionState) const |
{ |
if (!element) { |
exceptionState.throwDOMException(InvalidAccessError, ExceptionMessages::argumentNullOrIncorrectType(1, "Element")); |
@@ -1910,7 +1910,7 @@ String Internals::mainThreadScrollingReasons(Document* document, ExceptionState& |
return page->mainThreadScrollingReasonsAsText(); |
} |
-PassRefPtr<ClientRectList> Internals::nonFastScrollableRects(Document* document, ExceptionState& exceptionState) const |
+PassRefPtrWillBeRawPtr<ClientRectList> Internals::nonFastScrollableRects(Document* document, ExceptionState& exceptionState) const |
{ |
if (!document || !document->frame()) { |
exceptionState.throwDOMException(InvalidAccessError, document ? "The document's frame cannot be retrieved." : "The document provided is invalid."); |
@@ -2134,17 +2134,17 @@ void Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node* |
document->updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasksSynchronously); |
} |
-PassRefPtr<ClientRectList> Internals::draggableRegions(Document* document, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRectList> Internals::draggableRegions(Document* document, ExceptionState& exceptionState) |
{ |
return annotatedRegions(document, true, exceptionState); |
} |
-PassRefPtr<ClientRectList> Internals::nonDraggableRegions(Document* document, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRectList> Internals::nonDraggableRegions(Document* document, ExceptionState& exceptionState) |
{ |
return annotatedRegions(document, false, exceptionState); |
} |
-PassRefPtr<ClientRectList> Internals::annotatedRegions(Document* document, bool draggable, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRectList> Internals::annotatedRegions(Document* document, bool draggable, ExceptionState& exceptionState) |
{ |
if (!document || !document->view()) { |
exceptionState.throwDOMException(InvalidAccessError, document ? "The document's view cannot be retrieved." : "The document provided is invalid."); |
@@ -2267,7 +2267,7 @@ void Internals::forceReload(bool endToEnd) |
frame()->loader().reload(endToEnd ? EndToEndReload : NormalReload); |
} |
-PassRefPtr<ClientRect> Internals::selectionBounds(ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<ClientRect> Internals::selectionBounds(ExceptionState& exceptionState) |
{ |
Document* document = contextDocument(); |
if (!document || !document->frame()) { |