Changeset 238294 in webkit


Ignore:
Timestamp:
Nov 16, 2018 12:11:48 PM (5 years ago)
Author:
Chris Dumez
Message:

Automatic process prewarming should be turned on if PSON is enabled via experimental features
https://bugs.webkit.org/show_bug.cgi?id=191761

Reviewed by Ryosuke Niwa.

m_isAutomaticProcessWarmingEnabledByClient is a std::optional and should not be initialized to
true / false until the client calls API to toggle the feature. When m_isAutomaticProcessWarmingEnabledByClient
is std::nullopt then m_processSwapsOnNavigationFromExperimentalFeatures controls automatic
process prewarming.

  • UIProcess/API/APIProcessPoolConfiguration.h:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r238293 r238294  
     12018-11-16  Chris Dumez  <cdumez@apple.com>
     2
     3        Automatic process prewarming should be turned on if PSON is enabled via experimental features
     4        https://bugs.webkit.org/show_bug.cgi?id=191761
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        m_isAutomaticProcessWarmingEnabledByClient is a std::optional and should not be initialized to
     9        true / false until the client calls API to toggle the feature. When m_isAutomaticProcessWarmingEnabledByClient
     10        is std::nullopt then m_processSwapsOnNavigationFromExperimentalFeatures controls automatic
     11        process prewarming.
     12
     13        * UIProcess/API/APIProcessPoolConfiguration.h:
     14
    1152018-11-16  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/Source/WebKit/UIProcess/API/APIProcessPoolConfiguration.h

    r238183 r238294  
    219219    bool m_alwaysKeepAndReuseSwappedProcesses { false };
    220220    bool m_processSwapsOnWindowOpenWithOpener { false };
    221     std::optional<bool> m_isAutomaticProcessWarmingEnabledByClient { false };
     221    std::optional<bool> m_isAutomaticProcessWarmingEnabledByClient;
    222222    WTF::String m_customWebContentServiceBundleIdentifier;
    223223
Note: See TracChangeset for help on using the changeset viewer.