Changeset 172053 in webkit


Ignore:
Timestamp:
Aug 5, 2014 1:15:40 PM (10 years ago)
Author:
Antti Koivisto
Message:

REGRESSION: Extremely flashy scrolling while a page is still loading (because of flush throttling)
https://bugs.webkit.org/show_bug.cgi?id=135603
<rdar://problem/17876385>

This hit ASSERT(frame().isMainFrame()) in FrameView::updateLayerFlushThrottling
running scrollbars/scrollbar-iframe-click-does-not-blur-content.html and a few other tests.

  • page/FrameView.cpp:

(WebCore::FrameView::setWasScrolledByUser): Only invoke updateLayerFlushThrottling for the main frame.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r172048 r172053  
     12014-08-05  Antti Koivisto  <antti@apple.com>
     2
     3        REGRESSION: Extremely flashy scrolling while a page is still loading (because of flush throttling)
     4        https://bugs.webkit.org/show_bug.cgi?id=135603
     5        <rdar://problem/17876385>
     6       
     7        This hit ASSERT(frame().isMainFrame()) in FrameView::updateLayerFlushThrottling
     8        running scrollbars/scrollbar-iframe-click-does-not-blur-content.html and a few other tests.
     9
     10        * page/FrameView.cpp:
     11        (WebCore::FrameView::setWasScrolledByUser): Only invoke updateLayerFlushThrottling for the main frame.
     12
    1132014-08-05  Peyton Randolph  <prandolph@apple.com>
    214
  • trunk/Source/WebCore/page/FrameView.cpp

    r172039 r172053  
    35703570        return;
    35713571    m_wasScrolledByUser = wasScrolledByUser;
    3572     updateLayerFlushThrottling();
     3572    if (frame().isMainFrame())
     3573        updateLayerFlushThrottling();
    35733574    adjustTiledBackingCoverage();
    35743575}
Note: See TracChangeset for help on using the changeset viewer.