diff options
Diffstat (limited to 'Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp')
-rw-r--r-- | Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp b/Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp index e536701..000cd5a 100644 --- a/Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp +++ b/Source/WebKit/android/WebCoreSupport/PlatformBridge.cpp @@ -181,12 +181,6 @@ void PlatformBridge::setScrollPosition(ScrollView* scrollView, int x, int y) { y = std::max(0, std::min(frameView->contentsHeight(), y)); if ((x != visibleContentRect.x()) || (y != visibleContentRect.y())) webViewCore->scrollTo(x, y); - } else { - RenderView* renderer = frameView->frame()->contentRenderer(); - if (renderer) { - RenderLayer* layer = renderer->layer(); - layer->scrollToOffset(x, y); - } } } |