Changeset 146928 in webkit


Ignore:
Timestamp:
Mar 26, 2013, 2:26:49 PM (13 years ago)
Author:
timothy_horton@apple.com
Message:

[wk2] Don't send intrinsic content size updates more than once per runloop
https://bugs.webkit.org/show_bug.cgi?id=113258
<rdar://problem/13492038>

Reviewed by Simon Fraser.

  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:

(WebKit::TiledCoreAnimationDrawingArea::mainFrameContentSizeChanged):
Only start the zero-delay timer if it's not already active.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r146924 r146928  
     12013-03-26  Tim Horton  <timothy_horton@apple.com>
     2
     3        [wk2] Don't send intrinsic content size updates more than once per runloop
     4        https://bugs.webkit.org/show_bug.cgi?id=113258
     5        <rdar://problem/13492038>
     6
     7        Reviewed by Simon Fraser.
     8
     9        * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
     10        (WebKit::TiledCoreAnimationDrawingArea::mainFrameContentSizeChanged):
     11        Only start the zero-delay timer if it's not already active.
     12
    1132013-03-26  Tony Chang  <tony@chromium.org>
    214
  • trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm

    r146913 r146928  
    258258        return;
    259259
    260     m_updateIntrinsicContentSizeTimer.startOneShot(0);
     260    if (!m_updateIntrinsicContentSizeTimer.isActive())
     261        m_updateIntrinsicContentSizeTimer.startOneShot(0);
    261262}
    262263
Note: See TracChangeset for help on using the changeset viewer.