Changeset 222597 in webkit


Ignore:
Timestamp:
Sep 27, 2017 8:58:19 PM (7 years ago)
Author:
Wenson Hsieh
Message:

Unreviewed, fix the internal build after r222596 and r222595.

Guarding code in PlatformPasteboardIOS.mm TARGET_OS_IPHONE did not have the intended effect.

  • platform/ios/PlatformPasteboardIOS.mm:

(WebCore::PlatformPasteboard::typesSafeForDOMToReadAndWrite const):
(WebCore::PlatformPasteboard::write):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r222596 r222597  
     12017-09-27  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Unreviewed, fix the internal build after r222596 and r222595.
     4
     5        Guarding code in PlatformPasteboardIOS.mm TARGET_OS_IPHONE did not have the intended effect.
     6
     7        * platform/ios/PlatformPasteboardIOS.mm:
     8        (WebCore::PlatformPasteboard::typesSafeForDOMToReadAndWrite const):
     9        (WebCore::PlatformPasteboard::write):
     10
    1112017-09-27  Wenson Hsieh  <wenson_hsieh@apple.com>
    212
  • trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm

    r222596 r222597  
    437437Vector<String> PlatformPasteboard::typesSafeForDOMToReadAndWrite() const
    438438{
    439 #if TARGET_OS_IPHONE
     439#if TARGET_OS_IOS
    440440    ListHashSet<String> domPasteboardTypes;
    441441    for (NSItemProvider *provider in [m_pasteboard itemProviders]) {
     
    484484long PlatformPasteboard::write(const PasteboardCustomData& data)
    485485{
    486 #if TARGET_OS_IPHONE
     486#if TARGET_OS_IOS
    487487    auto representationsToRegister = adoptNS([[WebItemProviderRegistrationInfoList alloc] init]);
    488488    [representationsToRegister setPreferredPresentationStyle:WebPreferredPresentationStyleInline];
Note: See TracChangeset for help on using the changeset viewer.