⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243985 in webkit


Ignore:
Timestamp:
Apr 8, 2019, 3:15:18 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r242771 - [CoordinatedGraphics] ASSERTION FAILED: !m_state.isSuspended
https://bugs.webkit.org/show_bug.cgi?id=195550

Reviewed by Carlos Garcia Campos.

CompositingRunLoop::suspend() locks a mutex and stops the update
timer. But, the timer can be fired after the lock was acquired and
before the timer is stopped.

  • Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp:

(WebKit::CompositingRunLoop::updateTimerFired): Removed the
assertion. Return early if m_state.isSuspended.

Location:
releases/WebKitGTK/webkit-2.24/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.24/Source/WebKit/ChangeLog

    r243984 r243985  
     12019-03-11  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [CoordinatedGraphics] ASSERTION FAILED: !m_state.isSuspended
     4        https://bugs.webkit.org/show_bug.cgi?id=195550
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        CompositingRunLoop::suspend() locks a mutex and stops the update
     9        timer. But, the timer can be fired after the lock was acquired and
     10        before the timer is stopped.
     11
     12        * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp:
     13        (WebKit::CompositingRunLoop::updateTimerFired): Removed the
     14        assertion. Return early if m_state.isSuspended.
     15
    1162019-03-07  Carlos Garcia Campos  <cgarcia@igalia.com>
    217
  • releases/WebKitGTK/webkit-2.24/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp

    r243984 r243985  
    223223        // Both composition and scene update are now in progress.
    224224        LockHolder locker(m_state.lock);
    225         ASSERT(!m_state.isSuspended);
     225        if (m_state.isSuspended)
     226            return;
    226227        m_state.composition = CompositionState::InProgress;
    227228        m_state.update = UpdateState::InProgress;
Note: See TracChangeset for help on using the changeset viewer.