Changeset 51492 in webkit


Ignore:
Timestamp:
Nov 30, 2009 8:56:24 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-11-30 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

Chrome::contentsSizeChanged() is called when the content size has not changed
https://bugs.webkit.org/show_bug.cgi?id=31978

Do not trigger contentsSizeChaned() is the new size is the same as the old one.

  • page/FrameView.cpp: (WebCore::FrameView::setContentsSize):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r51490 r51492  
     12009-11-30  Benjamin Poulain  <benjamin.poulain@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        Chrome::contentsSizeChanged() is called when the content size has not changed
     6        https://bugs.webkit.org/show_bug.cgi?id=31978
     7
     8        Do not trigger contentsSizeChaned() is the new size is the same as the old one.
     9
     10        * page/FrameView.cpp:
     11        (WebCore::FrameView::setContentsSize):
     12
    1132009-11-30  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
    214
  • trunk/WebCore/page/FrameView.cpp

    r51371 r51492  
    364364void FrameView::setContentsSize(const IntSize& size)
    365365{
     366    if (size == contentsSize())
     367        return;
     368
    366369    m_deferSetNeedsLayouts++;
    367370
Note: See TracChangeset for help on using the changeset viewer.