diff options
Diffstat (limited to 'WebKit/android/nav/WebView.cpp')
-rw-r--r-- | WebKit/android/nav/WebView.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp index ef68bf5..894ebd3 100644 --- a/WebKit/android/nav/WebView.cpp +++ b/WebKit/android/nav/WebView.cpp @@ -976,11 +976,7 @@ const LayerAndroid* scrollableLayer(int x, int y) const LayerAndroid* layerRoot = compositeRoot(); if (!layerRoot) return 0; - CachedRoot* cachedRoot = getFrameCache(DontAllowNewer); - if (!cachedRoot) - return 0; - SkPicture* picture = cachedRoot->pictureAt(&x, &y); - const LayerAndroid* result = layerRoot->find(x, y, picture); + const LayerAndroid* result = layerRoot->find(x, y, 0); if (result != 0 && result->contentIsScrollable()) return result; #endif |