Index: Source/WebCore/testing/Internals.cpp |
diff --git a/Source/WebCore/testing/Internals.cpp b/Source/WebCore/testing/Internals.cpp |
index 2b963990445d96b3da1909e20b5da0642fa84519..0ea76abfb57caf790f7f5232b8725a5900be46a1 100644 |
--- a/Source/WebCore/testing/Internals.cpp |
+++ b/Source/WebCore/testing/Internals.cpp |
@@ -1184,17 +1184,6 @@ String Internals::rangeAsText(const Range* range, ExceptionCode& ec) |
return range->text(); |
} |
-void Internals::setDelegatesScrolling(bool enabled, Document* document, ExceptionCode& ec) |
-{ |
- // Delegate scrolling is valid only on mainframe's view. |
- if (!document || !document->view() || !document->page() || document->page()->mainFrame() != document->frame()) { |
- ec = INVALID_ACCESS_ERR; |
- return; |
- } |
- |
- document->view()->setDelegatesScrolling(enabled); |
-} |
- |
#if ENABLE(TOUCH_ADJUSTMENT) |
PassRefPtr<DOMPoint> Internals::touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document* document, ExceptionCode& ec) |
{ |