Title: [211324] trunk/Source/WebCore
Revision
211324
Author
aes...@apple.com
Date
2017-01-27 22:49:15 -0800 (Fri, 27 Jan 2017)

Log Message

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

* testing/Internals.cpp:
(WebCore::Internals::setQuickLookPassword):
* testing/Internals.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (211323 => 211324)


--- trunk/Source/WebCore/ChangeLog	2017-01-28 05:08:31 UTC (rev 211323)
+++ trunk/Source/WebCore/ChangeLog	2017-01-28 06:49:15 UTC (rev 211324)
@@ -1,3 +1,11 @@
+2017-01-27  Andy Estes  <aes...@apple.com>
+
+        Fix the iOS build when USE(QUICK_LOOK) is disabled.
+
+        * testing/Internals.cpp:
+        (WebCore::Internals::setQuickLookPassword):
+        * testing/Internals.h:
+
 2017-01-27  Yusuke Suzuki  <utatane....@gmail.com>
 
         setTimeout / setInterval's string execution should inherit SourceOrigin correctly

Modified: trunk/Source/WebCore/testing/Internals.cpp (211323 => 211324)


--- trunk/Source/WebCore/testing/Internals.cpp	2017-01-28 05:08:31 UTC (rev 211323)
+++ trunk/Source/WebCore/testing/Internals.cpp	2017-01-28 06:49:15 UTC (rev 211324)
@@ -3642,12 +3642,16 @@
     return accessKeyModifierStrings;
 }
 
-#if USE(QUICK_LOOK)
+#if PLATFORM(IOS)
 void Internals::setQuickLookPassword(const String& password)
 {
+#if USE(QUICK_LOOK)
     auto& quickLookHandleClient = MockQuickLookHandleClient::singleton();
     QuickLookHandle::setClientForTesting(&quickLookHandleClient);
     quickLookHandleClient.setPassword(password);
+#else
+    UNUSED_PARAM(password);
+#endif
 }
 #endif
 

Modified: trunk/Source/WebCore/testing/Internals.h (211323 => 211324)


--- trunk/Source/WebCore/testing/Internals.h	2017-01-28 05:08:31 UTC (rev 211323)
+++ trunk/Source/WebCore/testing/Internals.h	2017-01-28 06:49:15 UTC (rev 211324)
@@ -520,7 +520,7 @@
 
     Vector<String> accessKeyModifiers() const;
 
-#if USE(QUICK_LOOK)
+#if PLATFORM(IOS)
     void setQuickLookPassword(const String&);
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to