⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181739 in webkit


Ignore:
Timestamp:
Mar 19, 2015, 1:53:24 AM (11 years ago)
Author:
bshafiei@apple.com
Message:

Merged r181666. rdar://problem/19445803

Location:
tags/Safari-601.1.23.3/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-601.1.23.3/Source/WebCore/ChangeLog

    r181738 r181739  
     12015-03-19  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Merge r181666.
     4
     5    2015-03-17  Jeremy Jones  <jeremyj@apple.com>
     6
     7            When tab hides, pause fullscreen and exit normally.
     8            https://bugs.webkit.org/show_bug.cgi?id=142685
     9
     10            Reviewed by Eric Carlson.
     11
     12            Pause fullscreen playback when switching tabs. Exit fullscreen is not necessary and even prevents
     13            the normal flow of teardown. This allows the normal exit fullscreen call to succeed and call its callback.
     14
     15            * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
     16            (WebVideoFullscreenInterfaceAVKit::requestHideAndExitFullscreen):
     17
    1182015-03-19  Babak Shafiei  <bshafiei@apple.com>
    219
  • tags/Safari-601.1.23.3/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm

    r181719 r181739  
    11551155    dispatch_async(dispatch_get_main_queue(), [strongThis] {
    11561156        [strongThis->m_window setHidden:YES];
    1157         [strongThis->m_playerViewController exitFullScreenAnimated:NO completionHandler:[strongThis] (BOOL, NSError*) {
    1158         }];
    1159     });
    1160 
    1161     if (m_videoFullscreenModel && !m_exitRequested)
     1157    });
     1158
     1159    if (m_videoFullscreenModel && !m_exitRequested) {
     1160        m_videoFullscreenModel->pause();
    11621161        m_videoFullscreenModel->requestExitFullscreen();
     1162    }
    11631163}
    11641164
Note: See TracChangeset for help on using the changeset viewer.