Changeset 244993 in webkit


Ignore:
Timestamp:
May 6, 2019 5:08:10 PM (5 years ago)
Author:
Wenson Hsieh
Message:

Occasional crashes in layout tests when firing the shrink-to-fit-content timer
https://bugs.webkit.org/show_bug.cgi?id=197629
<rdar://problem/50514382>

Reviewed by Tim Horton.

Fixes several crashing layout tests by stopping the shrink-to-fit-content timer when the page closes.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::close):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r244988 r244993  
     12019-05-06  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Occasional crashes in layout tests when firing the shrink-to-fit-content timer
     4        https://bugs.webkit.org/show_bug.cgi?id=197629
     5        <rdar://problem/50514382>
     6
     7        Reviewed by Tim Horton.
     8
     9        Fixes several crashing layout tests by stopping the shrink-to-fit-content timer when the page closes.
     10
     11        * WebProcess/WebPage/WebPage.cpp:
     12        (WebKit::WebPage::close):
     13
    1142019-05-04  Per Arne Vollan  <pvollan@apple.com>
    215
  • trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp

    r244984 r244993  
    13541354#endif
    13551355
     1356#if ENABLE(VIEWPORT_RESIZING)
     1357    m_shrinkToFitContentTimer.stop();
     1358#endif
     1359
    13561360#if ENABLE(CONTEXT_MENUS)
    13571361    m_contextMenuClient = std::make_unique<API::InjectedBundle::PageContextMenuClient>();
Note: See TracChangeset for help on using the changeset viewer.