Changeset 214831 in webkit


Ignore:
Timestamp:
Apr 3, 2017 12:35:26 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Do not set WebAVPlayerLayerView background to black in fullscreen.
https://bugs.webkit.org/show_bug.cgi?id=170132
rdar://problem/30839278

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-04-03
Reviewed by Tim Horton.

No new tests because no behavior change.

The black background on WebAVPlayerLayerView interferes with the fullscreen animation
and has been removed.

  • platform/ios/WebVideoFullscreenInterfaceAVKit.mm:

(WebVideoFullscreenInterfaceAVKit::enterFullscreen):
(WebVideoFullscreenInterfaceAVKit::enterFullscreenStandard):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r214830 r214831  
     12017-04-03  Jeremy Jones  <jeremyj@apple.com>
     2
     3        Do not set WebAVPlayerLayerView background to black in fullscreen.
     4        https://bugs.webkit.org/show_bug.cgi?id=170132
     5        rdar://problem/30839278
     6
     7        Reviewed by Tim Horton.
     8
     9        No new tests because no behavior change.
     10
     11        The black background on WebAVPlayerLayerView interferes with the fullscreen animation
     12        and has been removed.
     13
     14        * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
     15        (WebVideoFullscreenInterfaceAVKit::enterFullscreen):
     16        (WebVideoFullscreenInterfaceAVKit::enterFullscreenStandard):
     17
    1182017-04-03  Antti Koivisto  <antti@apple.com>
    219
  • trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm

    r214554 r214831  
    669669    m_enterRequested = true;
    670670
    671     [m_playerLayerView setBackgroundColor:[getUIColorClass() blackColor]];
    672671    if (mode() == HTMLMediaElementEnums::VideoFullscreenModePictureInPicture)
    673672        enterPictureInPicture();
     
    700699    }
    701700
    702     [m_playerLayerView setBackgroundColor:[getUIColorClass() blackColor]];
    703701    [m_playerViewController enterFullScreenAnimated:YES completionHandler:[this, protectedThis] (BOOL succeeded, NSError*) {
    704702        UNUSED_PARAM(succeeded);
Note: See TracChangeset for help on using the changeset viewer.