Bug 131653

Summary: [iOS WebKit2] Listen for system memory pressure notifications.
Product: WebKit Reporter: Andreas Kling <kling>
Component: PlatformAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Description Andreas Kling 2014-04-14 18:01:38 PDT
<rdar://problem/16208123>
Comment 1 Andreas Kling 2014-04-15 10:43:22 PDT
Created attachment 229377 [details]
Patch
Comment 2 Pratik Solanki 2014-04-15 10:48:36 PDT
Comment on attachment 229377 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=229377&action=review

> Source/WebCore/platform/cocoa/MemoryPressureHandlerCocoa.mm:77
> +#elif MAC_OS_X_VERSION_MIN_REQUIRED >= 1090

Make this PLATFORM(MAC) && MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 otherwise iOS 7.1 compiles will likely fail.

> Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:1076
> +//        return GestureType::PhraseBoundary;

Stray changes.

> Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:1115
> +  //      return UIWKGesturePhraseBoundary;

More stray changes.
Comment 3 Andreas Kling 2014-04-15 10:53:44 PDT
Created attachment 229378 [details]
Patch
Comment 4 Andreas Kling 2014-04-15 13:10:03 PDT
Created attachment 229395 [details]
Patch
Comment 5 Andreas Kling 2014-04-15 13:10:52 PDT
Created attachment 229396 [details]
Patch
Comment 6 WebKit Commit Bot 2014-04-15 17:02:00 PDT
Comment on attachment 229396 [details]
Patch

Clearing flags on attachment: 229396

Committed r167338: <http://trac.webkit.org/changeset/167338>
Comment 7 WebKit Commit Bot 2014-04-15 17:02:03 PDT
All reviewed patches have been landed.  Closing bug.