⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 211324 in webkit


Ignore:
Timestamp:
Jan 27, 2017, 10:49:15 PM (10 years ago)
Author:
aestes@apple.com
Message:

Fix the iOS build when USE(QUICK_LOOK) is disabled.

  • testing/Internals.cpp:

(WebCore::Internals::setQuickLookPassword):

  • testing/Internals.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r211314 r211324  
     12017-01-27  Andy Estes  <aestes@apple.com>
     2
     3        Fix the iOS build when USE(QUICK_LOOK) is disabled.
     4
     5        * testing/Internals.cpp:
     6        (WebCore::Internals::setQuickLookPassword):
     7        * testing/Internals.h:
     8
    192017-01-27  Yusuke Suzuki  <utatane.tea@gmail.com>
    210
  • trunk/Source/WebCore/testing/Internals.cpp

    r211253 r211324  
    36433643}
    36443644
     3645#if PLATFORM(IOS)
     3646void Internals::setQuickLookPassword(const String& password)
     3647{
    36453648#if USE(QUICK_LOOK)
    3646 void Internals::setQuickLookPassword(const String& password)
    3647 {
    36483649    auto& quickLookHandleClient = MockQuickLookHandleClient::singleton();
    36493650    QuickLookHandle::setClientForTesting(&quickLookHandleClient);
    36503651    quickLookHandleClient.setPassword(password);
     3652#else
     3653    UNUSED_PARAM(password);
     3654#endif
    36513655}
    36523656#endif
  • trunk/Source/WebCore/testing/Internals.h

    r211253 r211324  
    521521    Vector<String> accessKeyModifiers() const;
    522522
    523 #if USE(QUICK_LOOK)
     523#if PLATFORM(IOS)
    524524    void setQuickLookPassword(const String&);
    525525#endif
Note: See TracChangeset for help on using the changeset viewer.