Changeset 242923 in webkit


Ignore:
Timestamp:
Mar 13, 2019 5:17:23 PM (5 years ago)
Author:
timothy@apple.com
Message:

Unreviewed speculative build fix for watchOS after r242908.

  • Shared/Cocoa/ArgumentCodersCocoa.mm:

(IPC::decodeObject):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r242920 r242923  
     12019-03-13  Timothy Hatcher  <timothy@apple.com>
     2
     3        Unreviewed speculative build fix for watchOS after r242908.
     4
     5        * Shared/Cocoa/ArgumentCodersCocoa.mm:
     6        (IPC::decodeObject):
     7
    182019-03-13  Dean Jackson  <dino@apple.com>
    29
  • trunk/Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm

    r242908 r242923  
    3939#endif
    4040
    41 #if USE(APPKIT)
    42 #define PlatformFont NSFont
    43 #define PlatformFontDescriptor NSFontDescriptor
     41#if PLATFORM(IOS_FAMILY)
     42#import <UIKit/UIFont.h>
     43#import <UIKit/UIFontDescriptor.h>
     44#endif
     45
     46#if USE(APPKIT)
     47using PlatformFont = NSFont;
     48using PlatformFontDescriptor = NSFontDescriptor;
    4449#else
    45 #define PlatformFont UIFont
    46 #define PlatformFontDescriptor UIFontDescriptor
     50using PlatformFont = UIFont;
     51using PlatformFontDescriptor = UIFontDescriptor;
    4752#endif
    4853
     
    437442    case NSType::Dictionary:
    438443        return decodeDictionaryInternal(decoder);
    439 #if USE(APPKIT)
    440444    case NSType::Font:
    441445        return decodeFontInternal(decoder);
    442 #else
    443     case NSType::Font:
    444         return decodeFontInternal(decoder);
    445 #endif
    446446    case NSType::Number:
    447447        return decodeNumberInternal(decoder);
Note: See TracChangeset for help on using the changeset viewer.