git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ScrollView::setFrameRect() calls contentsResized() even when the frame size is unchanged
[WebKit-https.git]
/
Source
/
WebCore
/
platform
/
ScrollView.cpp
diff --git
a/Source/WebCore/platform/ScrollView.cpp
b/Source/WebCore/platform/ScrollView.cpp
index 4d14805eff6232d4c63d0965cab639e2b4d70217..70c0d8a9afab9bfaecb14e6de11cc388f11cd76a 100644
(file)
--- 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());
frameRectsChanged();
updateScrollbars(scrollOffset());
-
- if (!m_useFixedLayout)
+
+ if (!m_useFixedLayout
&& oldRect.size() != newRect.size()
)
contentsResized();
}
contentsResized();
}