WebKit1 on iOS currently has its own little memory pressure handler implementation. Let's share the code with the other ports.
Created attachment 302254 [details] Patch
Attachment 302254 [details] did not pass style-queue: ERROR: Source/WebKit/mac/WebView/WebView.mm:9876: No space between ^ and block definition. [whitespace/brackets] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 302255 [details] Patch
Attachment 302255 [details] did not pass style-queue: ERROR: Source/WebKit/mac/WebView/WebView.mm:9842: No space between ^ and block definition. [whitespace/brackets] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 302255 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=302255&action=review > Source/WebKit/mac/WebView/WebViewPrivate.h:-459 > -+ (BOOL)_isUnderMemoryPressure; > -+ (void)_clearMemoryPressure; > -+ (BOOL)_shouldWaitForMemoryClearMessage; > -+ (void)_releaseMemoryNow; Please make sure there are no clients for these.
Created attachment 302259 [details] Patch for landing Keep _releaseMemoryNow as it turns out there are Apple-internal clients for that. Thx2Antti for being suspicious about this!
Attachment 302259 [details] did not pass style-queue: ERROR: Source/WebKit/mac/WebView/WebView.mm:1678: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WebKit/mac/WebView/WebView.mm:9849: No space between ^ and block definition. [whitespace/brackets] [4] Total errors found: 2 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 302259 [details] Patch for landing Clearing flags on attachment: 302259 Committed r212742: <http://trac.webkit.org/changeset/212742>
All reviewed patches have been landed. Closing bug.