Changeset 196641 in webkit


Ignore:
Timestamp:
Feb 16, 2016 10:48:36 AM (8 years ago)
Author:
Simon Fraser
Message:

Rollout r188659. This broke scrolling of iframes and overflow when
navigating back to a page in the page cache.

The fix was overly agressive and had no layout test. I will fix the original
issue a different way.

  • history/CachedFrame.cpp:

(WebCore::CachedFrame::CachedFrame):

  • page/FrameView.cpp:

(WebCore::FrameView::clearScrollableAreas): Deleted.

  • page/FrameView.h:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r196640 r196641  
     12016-02-16  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Rollout r188659. This broke scrolling of iframes and overflow when
     4        navigating back to a page in the page cache.
     5       
     6        The fix was overly agressive and had no layout test. I will fix the original
     7        issue a different way.
     8
     9        * history/CachedFrame.cpp:
     10        (WebCore::CachedFrame::CachedFrame):
     11        * page/FrameView.cpp:
     12        (WebCore::FrameView::clearScrollableAreas): Deleted.
     13        * page/FrameView.h:
     14
    1152016-02-16  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebCore/history/CachedFrame.cpp

    r195790 r196641  
    172172        frame.view()->clearBackingStores();
    173173
    174     frame.view()->clearScrollableAreas();
     174    // documentWillSuspendForPageCache() can set up a layout timer on the FrameView, so clear timers after that.
     175    frame.clearTimers();
    175176
    176177    // Deconstruct the FrameTree, to restore it later.
  • trunk/Source/WebCore/page/FrameView.cpp

    r195452 r196641  
    45244524}
    45254525
    4526 void FrameView::clearScrollableAreas()
    4527 {
    4528     if (m_scrollableAreas)
    4529         m_scrollableAreas->clear();
    4530 }
    4531 
    45324526void FrameView::scrollableAreaSetChanged()
    45334527{
  • trunk/Source/WebCore/page/FrameView.h

    r195445 r196641  
    457457    bool containsScrollableArea(ScrollableArea*) const;
    458458    const ScrollableAreaSet* scrollableAreas() const { return m_scrollableAreas.get(); }
    459     void clearScrollableAreas();
    460459
    461460    virtual void removeChild(Widget&) override;
Note: See TracChangeset for help on using the changeset viewer.