Changeset 245187 in webkit


Ignore:
Timestamp:
May 10, 2019 12:41:36 PM (5 years ago)
Author:
Chris Dumez
Message:

The active tab sometimes app naps even though it should not
https://bugs.webkit.org/show_bug.cgi?id=197791
<rdar://problem/48460054>

Reviewed by Geoffrey Garen.

The WebPage constructor was initializing m_activityState but not calling updateThrottleState().
As a result, we would not take a UserActivity even when warranted by the initial activity state.

  • WebProcess/WebPage/WebPage.cpp:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r245186 r245187  
     12019-05-10  Chris Dumez  <cdumez@apple.com>
     2
     3        The active tab sometimes app naps even though it should not
     4        https://bugs.webkit.org/show_bug.cgi?id=197791
     5        <rdar://problem/48460054>
     6
     7        Reviewed by Geoffrey Garen.
     8
     9        The WebPage constructor was initializing m_activityState but not calling updateThrottleState().
     10        As a result, we would not take a UserActivity even when warranted by the initial activity state.
     11
     12        * WebProcess/WebPage/WebPage.cpp:
     13
    1142019-05-10  Fujii Hironori  <Hironori.Fujii@sony.com>
    215
  • trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp

    r245183 r245187  
    678678    PlatformMediaSessionManager::setShouldDeactivateAudioSession(true);
    679679#endif
     680
     681    updateThrottleState();
    680682}
    681683
Note: See TracChangeset for help on using the changeset viewer.