Changeset 202333 in webkit
- Timestamp:
- Jun 22, 2016 10:16:27 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r202332 r202333 1 2016-06-22 Jer Noble <jer.noble@apple.com> 2 3 Media controls stop working after exiting PiP 4 https://bugs.webkit.org/show_bug.cgi?id=159026 5 <rdar://problem/26753579> 6 7 Reviewed by Eric Carlson. 8 9 Do not slave setting WebVideoFullscreenModelVideoElement::setVideoElement() to 10 WebPlaybackSessionModelVideoElement::setMediaElement(). After all, someone else 11 (i.e., the media controls) may still be using it. 12 13 * platform/cocoa/WebVideoFullscreenModelVideoElement.mm: 14 (WebVideoFullscreenModelVideoElement::setVideoElement): Deleted. 15 * platform/ios/WebVideoFullscreenControllerAVKit.mm: 16 (WebVideoFullscreenControllerContext::didCleanupFullscreen): 17 (WebVideoFullscreenControllerContext::setUpFullscreen): 18 1 19 2016-06-22 Jer Noble <jer.noble@apple.com> 2 20 -
trunk/Source/WebCore/platform/cocoa/WebVideoFullscreenModelVideoElement.mm
r201474 r202333 89 89 90 90 m_videoElement = videoElement; 91 m_playbackSessionModel->setMediaElement(videoElement);92 91 93 92 if (!m_videoElement) -
trunk/Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm
r201594 r202333 287 287 m_model->setWebVideoFullscreenInterface(nullptr); 288 288 m_model->setVideoElement(nullptr); 289 m_model->playbackSessionModel().setMediaElement(nullptr); 289 290 m_model = nullptr; 290 291 m_videoElement = nullptr; … … 662 663 m_model->setWebVideoFullscreenInterface(this); 663 664 m_model->setVideoElement(m_videoElement.get()); 665 m_model->playbackSessionModel().setMediaElement(m_videoElement.get()); 664 666 665 667 IntRect videoElementClientRect = elementRectInWindow(m_videoElement.get());
Note: See TracChangeset
for help on using the changeset viewer.