diff options
Diffstat (limited to 'WebCore/page/FrameView.cpp')
-rw-r--r-- | WebCore/page/FrameView.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/page/FrameView.cpp b/WebCore/page/FrameView.cpp index bf6bd55..5374487 100644 --- a/WebCore/page/FrameView.cpp +++ b/WebCore/page/FrameView.cpp @@ -1880,6 +1880,9 @@ IntRect FrameView::windowClipRect(bool clipToContents) const { ASSERT(m_frame->view() == this); + if (paintsEntireContents()) + return IntRect(IntPoint(0, 0), contentsSize()); + // Set our clip rect to be our contents. IntRect clipRect = contentsToWindow(visibleContentRect(!clipToContents)); if (!m_frame || !m_frame->document() || !m_frame->document()->ownerElement()) |