ScrollView::setFrameRect() calls contentsResized() even when the frame size is unchanged
[WebKit-https.git] / Source / WebCore / ChangeLog
index b1302788091ff90003ceee9fb2b8123f293f10ff..d93c93d9b1db0e09f02b24ae31c19d522ffa1db4 100644 (file)
@@ -1,3 +1,14 @@
+2012-03-01  Dan Bernstein  <mitz@apple.com>
+
+        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().
+
 2012-03-01  James Robinson  <jamesr@chromium.org>
 
         [chromium] Move pageScaleDirty logic from LayerChromium to GraphicsLayerChromium