REGRESSION (243388): WebProcess::shouldFreezeOnSuspension() decision is flipped
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Apr 2019 18:49:00 +0000 (18:49 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Apr 2019 18:49:00 +0000 (18:49 +0000)
commit8752f1bdf3019d07cb7b8f5d3453c072b738a29d
treee3f36de44eb1140aa1739db994227bd27a851618
parent5619ffacb74c371e536791c85b96251ba58902a9
REGRESSION (243388): WebProcess::shouldFreezeOnSuspension() decision is flipped
<rdar://problem/49755494> and https://bugs.webkit.org/show_bug.cgi?id=197284

Reviewed by Chris Dumez.

* WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::shouldFreezeOnSuspension const): If any non-suspended pages are in the process it should
  be eligible. Only if all pages are suspended should it be jetsam-able.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm