Rename the "Web content is visible" process assertion.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2018 20:52:08 +0000 (20:52 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2018 20:52:08 +0000 (20:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=185878

Reviewed by Chris Dumez.

* UIProcess/ios/ProcessAssertionIOS.mm:
(WebKit::ProcessAssertion::ProcessAssertion):

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

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm

index 66582b7..44cedb5 100644 (file)
@@ -1,3 +1,13 @@
+2018-05-22  Brady Eidson  <beidson@apple.com>
+
+        Rename the "Web content is visible" process assertion.
+        https://bugs.webkit.org/show_bug.cgi?id=185878
+
+        Reviewed by Chris Dumez.
+
+        * UIProcess/ios/ProcessAssertionIOS.mm:
+        (WebKit::ProcessAssertion::ProcessAssertion):
+
 2018-05-22  Andy Estes  <aestes@apple.com>
 
         [Wi-Fi Assertions] Drop assertions on process suspension
index 613610d..0649d11 100644 (file)
@@ -175,7 +175,7 @@ ProcessAssertion::ProcessAssertion(pid_t pid, AssertionState assertionState, Fun
         }
     };
     RELEASE_LOG(ProcessSuspension, "%p - ProcessAssertion() Acquiring assertion for process with PID %d", this, pid);
-    m_assertion = adoptNS([[BKSProcessAssertion alloc] initWithPID:pid flags:flagsForState(assertionState) reason:BKSProcessAssertionReasonExtension name:@"Web content visible" withHandler:handler]);
+    m_assertion = adoptNS([[BKSProcessAssertion alloc] initWithPID:pid flags:flagsForState(assertionState) reason:BKSProcessAssertionReasonExtension name:@"Web content visibility" withHandler:handler]);
     m_assertion.get().invalidationHandler = ^() {
         dispatch_async(dispatch_get_main_queue(), ^{
             RELEASE_LOG(ProcessSuspension, "%p - ProcessAssertion() Process assertion for process with PID %d was invalidated", this, pid);