Changeset 229185 in webkit


Ignore:
Timestamp:
Mar 2, 2018 11:55:09 AM (6 years ago)
Author:
timothy_horton@apple.com
Message:

Make the !ENABLE(DEVICE_ORIENTATION) iOS build succeed
https://bugs.webkit.org/show_bug.cgi?id=183296

Reviewed by Dan Bernstein.

  • platform/ios/DeviceMotionClientIOS.h:
  • platform/ios/DeviceMotionClientIOS.mm:
  • platform/ios/WebCoreMotionManager.h:
  • platform/ios/WebCoreMotionManager.mm:
Location:
trunk/Source/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r229184 r229185  
     12018-03-02  Tim Horton  <timothy_horton@apple.com>
     2
     3        Make the !ENABLE(DEVICE_ORIENTATION) iOS build succeed
     4        https://bugs.webkit.org/show_bug.cgi?id=183296
     5
     6        Reviewed by Dan Bernstein.
     7
     8        * platform/ios/DeviceMotionClientIOS.h:
     9        * platform/ios/DeviceMotionClientIOS.mm:
     10        * platform/ios/WebCoreMotionManager.h:
     11        * platform/ios/WebCoreMotionManager.mm:
     12
    1132018-03-02  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/Source/WebCore/platform/ios/DeviceMotionClientIOS.h

    r228531 r229185  
    2626#pragma once
    2727
    28 #if PLATFORM(IOS)
     28#if PLATFORM(IOS) && ENABLE(DEVICE_ORIENTATION)
    2929
    3030#include "DeviceMotionClient.h"
     
    5858} // namespace WebCore
    5959
    60 #endif // PLATFORM(IOS)
     60#endif // PLATFORM(IOS) && ENABLE(DEVICE_ORIENTATION)
  • trunk/Source/WebCore/platform/ios/DeviceMotionClientIOS.mm

    r210741 r229185  
    3030#import "WebCoreMotionManager.h"
    3131
    32 #if PLATFORM(IOS)
     32#if PLATFORM(IOS) && ENABLE(DEVICE_ORIENTATION)
    3333
    3434namespace WebCore {
     
    114114} // namespace WebCore
    115115
    116 #endif // PLATFORM(IOS)
     116#endif // PLATFORM(IOS) && ENABLE(DEVICE_ORIENTATION)
  • trunk/Source/WebCore/platform/ios/WebCoreMotionManager.h

    r191007 r229185  
    2424 */
    2525
    26 #ifndef WebCoreMotionManager_h
    27 #define WebCoreMotionManager_h
     26#pragma once
    2827
    2928#import "DeviceMotionClientIOS.h"
     
    3231#import <wtf/HashCountedSet.h>
    3332
    34 #if PLATFORM(IOS)
     33#if PLATFORM(IOS) && ENABLE(DEVICE_ORIENTATION)
    3534
    3635#import <CoreMotion/CoreMotion.h>
     
    5857@end
    5958
    60 #endif
    61 
    62 #endif // WebCoreMotionManager_h
     59#endif // PLATFORM(IOS) && ENABLE(DEVICE_ORIENTATION)
  • trunk/Source/WebCore/platform/ios/WebCoreMotionManager.mm

    r223238 r229185  
    2727#import "WebCoreMotionManager.h"
    2828
    29 #if PLATFORM(IOS)
     29#if PLATFORM(IOS) && ENABLE(DEVICE_ORIENTATION)
    3030
    3131#import "WebCoreObjCExtras.h"
Note: See TracChangeset for help on using the changeset viewer.