Changeset 202238 in webkit
- Timestamp:
- Jun 20, 2016, 1:38:41 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
html/HTMLMediaElement.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r202236 r202238 1 2016-06-20 Eric Carlson <eric.carlson@apple.com> 2 3 Crash in PlatformMediaSession::clientWillPausePlayback 4 https://bugs.webkit.org/show_bug.cgi?id=158953 5 <rdar://problem/26121125> 6 7 Reviewed by Jer Noble. 8 9 No new tests, I have not been able to reproduce this in a test. 10 11 * html/HTMLMediaElement.cpp: 12 (WebCore::HTMLMediaElement::stop): Ref the element before calling stopWithoutDestroyingMediaPlayer 13 because updatePlaybackControlsManager can release the last reference and cause the 14 destructor to be called. 15 (WebCore::HTMLMediaElement::suspend): Ditto. 16 1 17 2016-06-20 Alex Christensen <achristensen@webkit.org> 2 18 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r202183 r202238 5093 5093 LOG(Media, "HTMLMediaElement::stop(%p)", this); 5094 5094 5095 Ref<HTMLMediaElement> protectedThis(*this); 5095 5096 stopWithoutDestroyingMediaPlayer(); 5096 5097 … … 5110 5111 { 5111 5112 LOG(Media, "HTMLMediaElement::suspend(%p)", this); 5113 Ref<HTMLMediaElement> protectedThis(*this); 5112 5114 5113 5115 switch (why)
Note:
See TracChangeset
for help on using the changeset viewer.