diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp | 4 | ||||
-rw-r--r-- | Source/WebKit/android/jni/WebViewCore.cpp | 2 | ||||
-rw-r--r-- | Source/WebKit/android/nav/CacheBuilder.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp index 57cb576..d7b792b 100644 --- a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp @@ -572,10 +572,10 @@ bool GraphicsLayerAndroid::repaint() // Paint at 0,0. IntSize scroll = layer->scrolledContentOffset(); - layer->scrollToOffset(0, 0, true, false); + layer->scrollToOffset(0, 0); // At this point, it doesn't matter if painting failed. (void) paintContext(m_foregroundLayer->recordContext(), contentsRect); - layer->scrollToOffset(scroll.width(), scroll.height(), true, false); + layer->scrollToOffset(scroll.width(), scroll.height()); // Construct the clip layer for masking the contents. IntRect clip = layer->renderer()->absoluteBoundingBoxRect(); diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp index f2680b5..d7f60d3 100644 --- a/Source/WebKit/android/jni/WebViewCore.cpp +++ b/Source/WebKit/android/jni/WebViewCore.cpp @@ -3726,7 +3726,7 @@ void WebViewCore::scrollRenderLayer(int layer, const SkRect& rect) return; if (owner->stackingContext()) - owner->scrollToOffset(rect.fLeft, rect.fTop, true, false); + owner->scrollToOffset(rect.fLeft, rect.fTop); #endif } diff --git a/Source/WebKit/android/nav/CacheBuilder.cpp b/Source/WebKit/android/nav/CacheBuilder.cpp index dc10f21..e7691d7 100644 --- a/Source/WebKit/android/nav/CacheBuilder.cpp +++ b/Source/WebKit/android/nav/CacheBuilder.cpp @@ -100,7 +100,7 @@ CacheBuilder::LayerTracker::~LayerTracker() { if (mRenderLayer && mRenderLayer->stackingContext()) // Restore the scroll position of the layer. Does not affect layers // without overflow scroll as the layer will not be scrolled. - mRenderLayer->scrollToOffset(mScroll.x(), mScroll.y(), false, false); + mRenderLayer->scrollToOffset(mScroll.x(), mScroll.y()); } #if DUMP_NAV_CACHE @@ -2930,7 +2930,7 @@ void CacheBuilder::TrackLayer(WTF::Vector<LayerTracker>& layerTracker, return; // Prevent a crash when scrolling a layer that does not have a parent. if (layer->stackingContext()) - layer->scrollToOffset(0, 0, false, false); + layer->scrollToOffset(0, 0); #endif layerTracker.grow(layerTracker.size() + 1); LayerTracker& indexTracker = layerTracker.last(); |