Changeset 242923 in webkit
- Timestamp:
- Mar 13, 2019 5:17:23 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r242920 r242923 1 2019-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 1 8 2019-03-13 Dean Jackson <dino@apple.com> 2 9 -
trunk/Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
r242908 r242923 39 39 #endif 40 40 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) 47 using PlatformFont = NSFont; 48 using PlatformFontDescriptor = NSFontDescriptor; 44 49 #else 45 #define PlatformFont UIFont 46 #define PlatformFontDescriptor UIFontDescriptor 50 using PlatformFont = UIFont; 51 using PlatformFontDescriptor = UIFontDescriptor; 47 52 #endif 48 53 … … 437 442 case NSType::Dictionary: 438 443 return decodeDictionaryInternal(decoder); 439 #if USE(APPKIT)440 444 case NSType::Font: 441 445 return decodeFontInternal(decoder); 442 #else443 case NSType::Font:444 return decodeFontInternal(decoder);445 #endif446 446 case NSType::Number: 447 447 return decodeNumberInternal(decoder);
Note: See TracChangeset
for help on using the changeset viewer.