Changeset 244655 in webkit
- Timestamp:
- Apr 25, 2019 11:49:00 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r244653 r244655 1 2019-04-25 Brady Eidson <beidson@apple.com> 2 3 REGRESSION (243388): WebProcess::shouldFreezeOnSuspension() decision is flipped 4 <rdar://problem/49755494> and https://bugs.webkit.org/show_bug.cgi?id=197284 5 6 Reviewed by Chris Dumez. 7 8 * WebProcess/cocoa/WebProcessCocoa.mm: 9 (WebKit::WebProcess::shouldFreezeOnSuspension const): If any non-suspended pages are in the process it should 10 be eligible. Only if all pages are suspended should it be jetsam-able. 11 1 12 2019-04-25 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
r244091 r244655 734 734 for (auto& page : m_pageMap.values()) { 735 735 if (!page->isSuspended()) 736 return false; 737 } 738 739 return true; 736 return true; 737 } 738 739 // Since all of the pages in this process were suspended, we should not bother freezing it. 740 return false; 740 741 } 741 742
Note: See TracChangeset
for help on using the changeset viewer.