Changeset 136033 in webkit


Ignore:
Timestamp:
Nov 28, 2012, 11:37:15 AM (13 years ago)
Author:
Beth Dakin
Message:

https://bugs.webkit.org/show_bug.cgi?id=102970
[WK1] REGRESSION (r129545): Main frame doesn't rubberband unless
WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:

Reviewed by Sam Weinig.

We should always register for DidFirstLayout in WK1 since we do work
at that time besides just calling the delegate function.

  • WebView/WebView.mm:

(-[WebView _cacheFrameLoadDelegateImplementations]):

Location:
trunk/Source/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r135972 r136033  
     12012-11-28  Beth Dakin  <bdakin@apple.com>
     2
     3        https://bugs.webkit.org/show_bug.cgi?id=102970
     4        [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless
     5        WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
     6
     7        Reviewed by Sam Weinig.
     8
     9        We should always register for DidFirstLayout in WK1 since we do work
     10        at that time besides just calling the delegate function.
     11        * WebView/WebView.mm:
     12        (-[WebView _cacheFrameLoadDelegateImplementations]):
     13
    1142012-11-27  Michael Saboff  <msaboff@apple.com>
    215
  • trunk/Source/WebKit/mac/WebView/WebView.mm

    r135882 r136033  
    16871687    Page* page = core(self);
    16881688    if (page) {
    1689         unsigned milestones = 0;
    1690         if (cache->didFirstLayoutInFrameFunc)
    1691             milestones |= DidFirstLayout;
     1689        unsigned milestones = DidFirstLayout;
    16921690        if (cache->didFirstVisuallyNonEmptyLayoutInFrameFunc)
    16931691            milestones |= DidFirstVisuallyNonEmptyLayout;
Note: See TracChangeset for help on using the changeset viewer.