Apply a review comment that was missing in r213182
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Feb 2017 23:21:01 +0000 (23:21 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Feb 2017 23:21:01 +0000 (23:21 +0000)
* loader/ios/QuickLook.mm:
(WebCore::isQuickLookPreviewURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/loader/ios/QuickLook.mm

index 5896581..4645453 100644 (file)
@@ -1,5 +1,12 @@
 2017-02-28  Tim Horton  <timothy_horton@apple.com>
 
+        Apply a review comment that was missing in r213182
+
+        * loader/ios/QuickLook.mm:
+        (WebCore::isQuickLookPreviewURL):
+
+2017-02-28  Tim Horton  <timothy_horton@apple.com>
+
         [iOS] Getting QLPreviewProtocol slows down first navigation in Web process
         https://bugs.webkit.org/show_bug.cgi?id=168940
         <rdar://problem/29468999>
index c17cfea..b0e55fe 100644 (file)
@@ -128,7 +128,7 @@ bool WebCore::isQuickLookPreviewURL(const URL& url)
 {
     // Use some known protocols as a short-cut to avoid loading the QuickLook framework.
     if (url.protocolIsInHTTPFamily() || url.isBlankURL() || url.protocolIsBlob() || url.protocolIsData() || SchemeRegistry::shouldTreatURLSchemeAsLocal(url.protocol().toString()))
-        return NO;
+        return false;
     return url.protocolIs(QLPreviewProtocol());
 }