Index: Source/WebCore/testing/Internals.cpp |
=================================================================== |
--- Source/WebCore/testing/Internals.cpp (revision 139630) |
+++ Source/WebCore/testing/Internals.cpp (working copy) |
@@ -1514,6 +1514,20 @@ |
return page->mainThreadScrollingReasonsAsText(); |
} |
+PassRefPtr<ClientRectList> Internals::nonFastScrollableRects(Document* document, ExceptionCode& ec) const |
+{ |
+ if (!document || !document->frame()) { |
+ ec = INVALID_ACCESS_ERR; |
+ return 0; |
+ } |
+ |
+ Page* page = document->page(); |
+ if (!page) |
+ return 0; |
+ |
+ return page->nonFastScrollableRects(document->frame()); |
+} |
+ |
void Internals::garbageCollectDocumentResources(Document* document, ExceptionCode& ec) const |
{ |
if (!document) { |