Changeset 240556 in webkit


Ignore:
Timestamp:
Jan 27, 2019 3:51:29 PM (5 years ago)
Author:
Wenson Hsieh
Message:

Remove a couple of PLATFORM defines intended for watchOS
https://bugs.webkit.org/show_bug.cgi?id=193888

Reviewed by Alexey Proskuryakov.

Remove the use of !PLATFORM(WATCH), since this is true on every platform.

  • editing/cocoa/DictionaryLookup.mm:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r240555 r240556  
     12019-01-27  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Remove a couple of PLATFORM defines intended for watchOS
     4        https://bugs.webkit.org/show_bug.cgi?id=193888
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Remove the use of !PLATFORM(WATCH), since this is true on every platform.
     9
     10        * editing/cocoa/DictionaryLookup.mm:
     11
    1122019-01-27  Jiewen Tan  <jiewen_tan@apple.com>
    213
  • trunk/Source/WebCore/editing/cocoa/DictionaryLookup.mm

    r240494 r240556  
    5656#if PLATFORM(MAC)
    5757#import <Quartz/Quartz.h>
    58 #elif !PLATFORM(WATCH)
     58#else
    5959#import <PDFKit/PDFKit.h>
    6060#endif
     
    373373   
    374374}
    375    
    376 #if !PLATFORM(WATCH)
    377375
    378376static void expandSelectionByCharacters(PDFSelection *selection, NSInteger numberOfCharactersToExpand, NSInteger& charactersAddedBeforeStart, NSInteger& charactersAddedAfterEnd)
     
    432430    return { @"", nil };
    433431}
    434    
    435 #endif // !PLATFORM(WATCH)
    436432
    437433static WKRevealController showPopupOrCreateAnimationController(bool createAnimationController, const DictionaryPopupInfo& dictionaryPopupInfo, RevealView *view, const WTF::Function<void(TextIndicator&)>& textIndicatorInstallationCallback, const WTF::Function<FloatRect(FloatRect)>& rootViewToViewConversionCallback, WTF::Function<void()>&& clearTextIndicator)
Note: See TracChangeset for help on using the changeset viewer.