Title: [251795] trunk/Source/WebKit
Revision
251795
Author
[email protected]
Date
2019-10-30 13:09:38 -0700 (Wed, 30 Oct 2019)

Log Message

Unreviewed, fix reversed assertion landed in r251778.

* UIProcess/ProcessThrottler.h:
(WebKit::ProcessThrottler::Activity::invalidate):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (251794 => 251795)


--- trunk/Source/WebKit/ChangeLog	2019-10-30 20:07:40 UTC (rev 251794)
+++ trunk/Source/WebKit/ChangeLog	2019-10-30 20:09:38 UTC (rev 251795)
@@ -1,5 +1,12 @@
 2019-10-30  Chris Dumez  <[email protected]>
 
+        Unreviewed, fix reversed assertion landed in r251778.
+
+        * UIProcess/ProcessThrottler.h:
+        (WebKit::ProcessThrottler::Activity::invalidate):
+
+2019-10-30  Chris Dumez  <[email protected]>
+
         Unreviewed, fix WatchOS build after r251778.
 
         * UIProcess/WebProcessProxy.h:

Modified: trunk/Source/WebKit/UIProcess/ProcessThrottler.h (251794 => 251795)


--- trunk/Source/WebKit/UIProcess/ProcessThrottler.h	2019-10-30 20:07:40 UTC (rev 251794)
+++ trunk/Source/WebKit/UIProcess/ProcessThrottler.h	2019-10-30 20:09:38 UTC (rev 251795)
@@ -75,7 +75,7 @@
 
         void invalidate()
         {
-            ASSERT(!m_throttler);
+            ASSERT(isValid());
             RELEASE_LOG(ProcessSuspension, "[PID: %d] %p - ProcessThrottler Ending %{public}s activity %p / '%{public}s'", m_throttler->m_processIdentifier, m_throttler, type == ActivityType::Foreground ? "foreground" : "background", this, m_name.characters());
             m_throttler->removeActivity(*this);
             m_throttler = nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to