Changeset 259028 in webkit


Ignore:
Timestamp:
Mar 25, 2020 7:10:38 PM (4 years ago)
Author:
rniwa@webkit.org
Message:

Mini browser immediately hit an assertion in debug build
https://bugs.webkit.org/show_bug.cgi?id=209575

Reviewed by Simon Fraser.

Use 1 instead of 0 as the desination ID to avoid hitting assertions.

  • WebProcess/GPU/media/RemoteAudioSession.cpp:

(WebKit::RemoteAudioSession::RemoteAudioSession):
(WebKit::RemoteAudioSession::~RemoteAudioSession):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r259025 r259028  
     12020-03-25  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Mini browser immediately hit an assertion in debug build
     4        https://bugs.webkit.org/show_bug.cgi?id=209575
     5
     6        Reviewed by Simon Fraser.
     7
     8        Use 1 instead of 0 as the desination ID to avoid hitting assertions.
     9
     10        * WebProcess/GPU/media/RemoteAudioSession.cpp:
     11        (WebKit::RemoteAudioSession::RemoteAudioSession):
     12        (WebKit::RemoteAudioSession::~RemoteAudioSession):
     13
    1142020-03-25  Tim Horton  <timothy_horton@apple.com>
    215
  • trunk/Source/WebKit/WebProcess/GPU/media/RemoteAudioSession.cpp

    r258838 r259028  
    5050    , m_configuration(WTFMove(configuration))
    5151{
    52     m_process.ensureGPUProcessConnection().messageReceiverMap().addMessageReceiver(Messages::RemoteAudioSession::messageReceiverName(), 0, *this);
     52    m_process.ensureGPUProcessConnection().messageReceiverMap().addMessageReceiver(Messages::RemoteAudioSession::messageReceiverName(), 1, *this);
    5353}
    5454
     
    5656{
    5757    if (auto* connection = m_process.existingGPUProcessConnection())
    58         connection->messageReceiverMap().removeMessageReceiver(Messages::RemoteAudioSession::messageReceiverName(), 0);
     58        connection->messageReceiverMap().removeMessageReceiver(Messages::RemoteAudioSession::messageReceiverName(), 1);
    5959}
    6060
Note: See TracChangeset for help on using the changeset viewer.