[iOS WK2] Don't create backing store for -webkit-overflow-scrolling:touch that can...
[WebKit-https.git] / Source / WebCore / rendering / RenderBox.cpp
index 5dea106..e5e4742 100644 (file)
@@ -2176,7 +2176,7 @@ void RenderBox::computeRectForRepaint(const RenderLayerModelObject* repaintConta
     if (o->hasOverflowClip()) {
         RenderBox* containerBox = toRenderBox(o);
 #if PLATFORM(IOS)
-        if (!containerBox->layer() || !containerBox->layer()->hasAcceleratedTouchScrolling()) {
+        if (!containerBox->layer() || !containerBox->layer()->usesCompositedScrolling()) {
 #endif
         containerBox->applyCachedClipAndScrollOffsetForRepaint(rect);
         if (rect.isEmpty())