summaryrefslogtreecommitdiffstats
path: root/WebCore/page/FrameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/FrameView.cpp')
-rw-r--r--WebCore/page/FrameView.cpp17
1 files changed, 4 insertions, 13 deletions
diff --git a/WebCore/page/FrameView.cpp b/WebCore/page/FrameView.cpp
index 87d2d6c..b338017 100644
--- a/WebCore/page/FrameView.cpp
+++ b/WebCore/page/FrameView.cpp
@@ -974,23 +974,14 @@ void FrameView::repaintContentRectangle(const IntRect& r, bool immediate)
double delay = adjustedDeferredRepaintDelay();
if ((m_deferringRepaints || m_deferredRepaintTimer.isActive() || delay) && !immediate) {
-<<<<<<< HEAD:WebCore/page/FrameView.cpp
- IntRect visibleContent = visibleContentRect();
-#ifdef ANDROID_CAPTURE_OFFSCREEN_PAINTS
- IntRect fullVis = visibleContent;
-#endif
- visibleContent.intersect(r);
-#ifdef ANDROID_CAPTURE_OFFSCREEN_PAINTS
- if (r != visibleContent)
- ScrollView::platformOffscreenContentRectangle(fullVis, r);
-#endif
- if (visibleContent.isEmpty())
-=======
IntRect paintRect = r;
if (!paintsEntireContents())
paintRect.intersect(visibleContentRect());
+#ifdef ANDROID_CAPTURE_OFFSCREEN_PAINTS
+ if (r != paintRect)
+ ScrollView::platformOffscreenContentRectangle(visibleContentRect(), r);
+#endif
if (paintRect.isEmpty())
->>>>>>> webkit.org at r51976:WebCore/page/FrameView.cpp
return;
if (m_repaintCount == cRepaintRectUnionThreshold) {
IntRect unionedRect;