ScrollView::setFrameRect() calls contentsResized() even when the frame size is unchanged
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Mar 2012 22:42:44 +0000 (22:42 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Mar 2012 22:42:44 +0000 (22:42 +0000)
commitad0cc9d4781db486ddb1e3164ff9aeabe540edab
tree2e913e467eeb3f5d5220e8d2b460534f5d7a0df4
parent309fd63f62c02b630dacb11a9275061c59906cff
ScrollView::setFrameRect() calls contentsResized() even when the frame size is unchanged
https://bugs.webkit.org/show_bug.cgi?id=80047

Reviewed by Anders Carlsson.

* platform/ScrollView.cpp:
(WebCore::ScrollView::setFrameRect): Added a check that the new frame size differs from the
old one before calling contentsResized().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/ScrollView.cpp