Changeset 185962 in webkit
- Timestamp:
- Jun 25, 2015, 2:00:25 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r185960 r185962 1 2015-06-25 Eric Carlson <eric.carlson@apple.com> 2 3 [Mac] Crash in WebCore::MediaPlayer::canPlayToWirelessPlaybackTarget 4 https://bugs.webkit.org/show_bug.cgi?id=146317 5 6 Reviewed by Brent Fulgham. 7 8 * html/HTMLMediaElement.cpp: 9 (WebCore::HTMLMediaElement::mediaState): NULL-check m_player before using it. 10 1 11 2015-06-25 Commit Queue <commit-queue@webkit.org> 2 12 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r185840 r185962 6318 6318 state |= IsPlayingToExternalDevice; 6319 6319 6320 if ( !m_mediaSession->wirelessVideoPlaybackDisabled(*this) && m_hasPlaybackTargetAvailabilityListeners&& m_player->canPlayToWirelessPlaybackTarget())6320 if (m_player && m_hasPlaybackTargetAvailabilityListeners && !m_mediaSession->wirelessVideoPlaybackDisabled(*this) && m_player->canPlayToWirelessPlaybackTarget()) 6321 6321 state |= RequiresPlaybackTargetMonitoring; 6322 6322
Note:
See TracChangeset
for help on using the changeset viewer.