[webkit-changes] [WebKit/WebKit] e42376: Add ENABLE macro for WebProcess cache

Per Arne Vollan noreply at github.com
Fri Sep 22 14:29:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e42376bfd40b7595d9e3c77035e4a2e4e71fd10b
      https://github.com/WebKit/WebKit/commit/e42376bfd40b7595d9e3c77035e4a2e4e71fd10b
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WTF/wtf/PlatformEnableWinCairo.h
    M Source/WebKit/UIProcess/WebProcessCache.cpp
    M Source/WebKit/WebProcess/WebProcess.cpp

  Log Message:
  -----------
  Add ENABLE macro for WebProcess cache
https://bugs.webkit.org/show_bug.cgi?id=261952
rdar://115896548

Reviewed by Brent Fulgham.

In https://commits.webkit.org/266267@main, the WebProcess cache was enabled on iOS,
but also enabled on watchOS and tvOS, which was not intentional. Fix this by adding
a ENABLE macro for the feature.

* Source/WTF/wtf/PlatformEnable.h:
* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WTF/wtf/PlatformEnableWinCairo.h:
* Source/WebKit/UIProcess/WebProcessCache.cpp:
(WebKit::WebProcessCache::updateCapacity):
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::prepareToSuspend):

Canonical link: https://commits.webkit.org/268334@main




More information about the webkit-changes mailing list