Index: Source/WebCore/rendering/RenderObject.cpp |
diff --git a/Source/WebCore/rendering/RenderObject.cpp b/Source/WebCore/rendering/RenderObject.cpp |
index ab9c1c9398f7a86949619bf5af3f59a7cc66e56b..416342de19e1df311f7284540c1f70597467cece 100644 |
--- a/Source/WebCore/rendering/RenderObject.cpp |
+++ b/Source/WebCore/rendering/RenderObject.cpp |
@@ -1924,10 +1924,7 @@ void RenderObject::styleWillChange(StyleDifference diff, const RenderStyle* newS |
// when scrolling a page with a fixed background image. As an optimization, assuming there are |
// no fixed positoned elements on the page, we can acclerate scrolling (via blitting) if we |
// ignore the CSS property "background-attachment: fixed". |
-#if PLATFORM(QT) |
- if (view()->frameView()->delegatesScrolling()) |
-#endif |
- shouldBlitOnFixedBackgroundImage = true; |
+ shouldBlitOnFixedBackgroundImage = true; |
#endif |
bool newStyleSlowScroll = newStyle && !shouldBlitOnFixedBackgroundImage && newStyle->hasFixedBackgroundImage(); |