Changeset 212661 in webkit


Ignore:
Timestamp:
Feb 20, 2017 10:39:27 AM (7 years ago)
Author:
achristensen@apple.com
Message:

Fix libwebrtc build after r212644.
https://bugs.webkit.org/show_bug.cgi?id=168596

  • Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:

(WebCore::LibWebRTCMediaEndpoint::StatsCollector::OnStatsDelivered):
m_endpoint changed from a c++ reference to a WTF::Ref, so we need to use operator -> instead of .

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r212656 r212661  
     12017-02-20  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix libwebrtc build after r212644.
     4        https://bugs.webkit.org/show_bug.cgi?id=168596
     5
     6        * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
     7        (WebCore::LibWebRTCMediaEndpoint::StatsCollector::OnStatsDelivered):
     8        m_endpoint changed from a c++ reference to a WTF::Ref, so we need to use operator -> instead of .
     9
    1102017-02-20  Romain Bellessort  <romain.bellessort@crf.canon.fr>
    211
  • trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp

    r212644 r212661  
    231231{
    232232    callOnMainThread([protectedThis = rtc::scoped_refptr<LibWebRTCMediaEndpoint::StatsCollector>(this), report] {
    233         if (protectedThis->m_endpoint.isStopped())
     233        if (protectedThis->m_endpoint->isStopped())
    234234            return;
    235235
     
    237237        UNUSED_PARAM(report);
    238238
    239         protectedThis->m_endpoint.m_peerConnectionBackend.getStatsFailed(protectedThis->m_promise, Exception { TypeError, ASCIILiteral("Stats API is not yet implemented") });
     239        protectedThis->m_endpoint->m_peerConnectionBackend.getStatsFailed(protectedThis->m_promise, Exception { TypeError, ASCIILiteral("Stats API is not yet implemented") });
    240240    });
    241241}
Note: See TracChangeset for help on using the changeset viewer.