Changeset 182477 in webkit


Ignore:
Timestamp:
Apr 7, 2015 10:18:30 AM (9 years ago)
Author:
jer.noble@apple.com
Message:

Unreviewed build fix; make calls to new SPI conditional on iOS version.

  • UIProcess/ios/WebVideoFullscreenManagerProxy.mm:

(WebKit::WebVideoFullscreenManagerProxy::setVideoLayerFrame):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r182447 r182477  
     12015-04-07  Jer Noble  <jer.noble@apple.com>
     2
     3        Unreviewed build fix; make calls to new SPI conditional on iOS version.
     4
     5        * UIProcess/ios/WebVideoFullscreenManagerProxy.mm:
     6        (WebKit::WebVideoFullscreenManagerProxy::setVideoLayerFrame):
     7
    182015-04-06  Anders Carlsson  <andersca@apple.com>
    29
  • trunk/Source/WebKit2/UIProcess/ios/WebVideoFullscreenManagerProxy.mm

    r182439 r182477  
    2929#if PLATFORM(IOS)
    3030
    31 #import "BackBoardServicesSPI.h"
    3231#import "RemoteLayerTreeDrawingAreaProxy.h"
    3332#import "UIKitSPI.h"
     
    4039#import <WebKitSystemInterface.h>
    4140
     41#if __IPHONE_OS_VERSION_MIN_REQUIRED > 90000
     42#import "BackBoardServicesSPI.h"
     43#endif
     44
    4245using namespace WebCore;
    4346
     
    222225    m_videoLayerFrame = frame;
    223226    @autoreleasepool {
     227#if __IPHONE_OS_VERSION_MIN_REQUIRED > 90000
    224228        BKSAnimationFenceHandle* synchronizationFence = [UIWindow _synchronizedDrawingFence];
    225229        mach_port_name_t fencePort = [synchronizationFence CAPort];
     230#else
     231        mach_port_name_t fencePort = [UIWindow _synchronizeDrawingAcrossProcesses];
     232#endif
    226233
    227234        m_page->send(Messages::WebVideoFullscreenManager::SetVideoLayerFrameFenced(frame, IPC::Attachment(fencePort, MACH_MSG_TYPE_MOVE_SEND)), m_page->pageID());
Note: See TracChangeset for help on using the changeset viewer.