Changeset 251795 in webkit


Ignore:
Timestamp:
Oct 30, 2019 1:09:38 PM (4 years ago)
Author:
Chris Dumez
Message:

Unreviewed, fix reversed assertion landed in r251778.

  • UIProcess/ProcessThrottler.h:

(WebKit::ProcessThrottler::Activity::invalidate):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r251791 r251795  
     12019-10-30  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, fix reversed assertion landed in r251778.
     4
     5        * UIProcess/ProcessThrottler.h:
     6        (WebKit::ProcessThrottler::Activity::invalidate):
     7
    182019-10-30  Chris Dumez  <cdumez@apple.com>
    29
  • trunk/Source/WebKit/UIProcess/ProcessThrottler.h

    r251778 r251795  
    7676        void invalidate()
    7777        {
    78             ASSERT(!m_throttler);
     78            ASSERT(isValid());
    7979            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());
    8080            m_throttler->removeActivity(*this);
Note: See TracChangeset for help on using the changeset viewer.