Index: Source/WebKit/chromium/src/NonCompositedContentHost.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/NonCompositedContentHost.cpp (revision 122750) |
+++ Source/WebKit/chromium/src/NonCompositedContentHost.cpp (working copy) |
@@ -151,7 +151,9 @@ |
void NonCompositedContentHost::invalidateRect(const WebCore::IntRect& rect) |
{ |
- m_graphicsLayer->setNeedsDisplayInRect(WebCore::FloatRect(rect)); |
+ WebCore::IntRect layerRect = rect; |
+ layerRect.move(-m_layerAdjust); |
+ m_graphicsLayer->setNeedsDisplayInRect(WebCore::FloatRect(layerRect)); |
} |
void NonCompositedContentHost::notifyAnimationStarted(const WebCore::GraphicsLayer*, double /* time */) |