X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fplatform%2FScrollView.cpp;h=70c0d8a9afab9bfaecb14e6de11cc388f11cd76a;hp=4d14805eff6232d4c63d0965cab639e2b4d70217;hb=ad0cc9d4781db486ddb1e3164ff9aeabe540edab;hpb=309fd63f62c02b630dacb11a9275061c59906cff diff --git a/Source/WebCore/platform/ScrollView.cpp b/Source/WebCore/platform/ScrollView.cpp index 4d14805eff62..70c0d8a9afab 100644 --- a/Source/WebCore/platform/ScrollView.cpp +++ b/Source/WebCore/platform/ScrollView.cpp @@ -844,8 +844,8 @@ void ScrollView::setFrameRect(const IntRect& newRect) frameRectsChanged(); updateScrollbars(scrollOffset()); - - if (!m_useFixedLayout) + + if (!m_useFixedLayout && oldRect.size() != newRect.size()) contentsResized(); }