Index: Source/WebCore/testing/Internals.cpp |
diff --git a/Source/WebCore/testing/Internals.cpp b/Source/WebCore/testing/Internals.cpp |
index 8dd36d6352ec0ad75674c9d89898d1f30ca7bbc7..2bd2c2ac3b616f10df3e27f561dded49d5839ee0 100644 |
--- a/Source/WebCore/testing/Internals.cpp |
+++ b/Source/WebCore/testing/Internals.cpp |
@@ -1693,16 +1693,7 @@ String Internals::repaintRectsAsText(Document* document, ExceptionCode& ec) cons |
String Internals::scrollingStateTreeAsText(Document* document, ExceptionCode& ec) const |
{ |
- if (!document || !document->frame()) { |
- ec = INVALID_ACCESS_ERR; |
- return String(); |
- } |
- |
- Page* page = document->page(); |
- if (!page) |
- return String(); |
- |
- return page->scrollingStateTreeAsText(); |
+ return String(); |
} |
String Internals::mainThreadScrollingReasons(Document* document, ExceptionCode& ec) const |