Remove deprecated process suppression assertion SPI from WebKitSystemInterface
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 01:41:51 +0000 (01:41 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 01:41:51 +0000 (01:41 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111501

Patch by Kiran Muppala <cmuppala@apple.com> on 2013-03-05
Reviewed by Alexey Proskuryakov.

https://bugs.webkit.org/show_bug.cgi?id=111387 replaced all usage of
WKNSProcessInfoProcessAssertionWithTypes() with
-[NSProcessInfo beginSuspensionOfSystemBehaviors:].  Hence, remove
the now deprecated SPI.

* WebKitSystemInterface.h: Remove
WKNSProcessInfoProcessAssertionWithTypes and associated declarations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144857 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitLibraries/ChangeLog
WebKitLibraries/WebKitSystemInterface.h

index bf41752..c18b376 100644 (file)
@@ -1,5 +1,20 @@
 2013-03-05  Kiran Muppala  <cmuppala@apple.com>
 
+        Remove deprecated process suppression assertion SPI from WebKitSystemInterface
+        https://bugs.webkit.org/show_bug.cgi?id=111501
+
+        Reviewed by Alexey Proskuryakov.
+
+        https://bugs.webkit.org/show_bug.cgi?id=111387 replaced all usage of
+        WKNSProcessInfoProcessAssertionWithTypes() with
+        -[NSProcessInfo beginSuspensionOfSystemBehaviors:].  Hence, remove
+        the now deprecated SPI.
+
+        * WebKitSystemInterface.h: Remove
+        WKNSProcessInfoProcessAssertionWithTypes and associated declarations.
+
+2013-03-05  Kiran Muppala  <cmuppala@apple.com>
+
         Use new assertion API for process suppression on Mac
         https://bugs.webkit.org/show_bug.cgi?id=111387
 
index d4fdeac..5cf2ac2 100644 (file)
@@ -491,13 +491,6 @@ bool WKRegisterOcclusionNotificationHandler(WKOcclusionNotificationType, WKOcclu
 bool WKUnregisterOcclusionNotificationHandler(WKOcclusionNotificationType, WKOcclusionNotificationHandler);
 bool WKEnableWindowOcclusionNotifications(NSInteger windowID, bool *outCurrentOcclusionState);
 
-enum {
-    WKProcessAssertionTypeVisible = (1UL << 10)
-};
-
-typedef NSUInteger WKProcessAssertionTypes;
-id WKNSProcessInfoProcessAssertionWithTypes(WKProcessAssertionTypes);
-
 extern const NSSystemBehaviors WKProcessSuppressionSystemBehaviors;
 #endif