Title: [220405] trunk/Source/WebCore
Revision
220405
Author
bfulg...@apple.com
Date
2017-08-08 09:13:48 -0700 (Tue, 08 Aug 2017)

Log Message

Unreviewed build fix after r220376.

Don't attempt to use isPublicSuffix when building without that
feature enabled.

* dom/Document.cpp:
(WebCore::Document::domainIsRegisterable const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (220404 => 220405)


--- trunk/Source/WebCore/ChangeLog	2017-08-08 16:00:06 UTC (rev 220404)
+++ trunk/Source/WebCore/ChangeLog	2017-08-08 16:13:48 UTC (rev 220405)
@@ -1,3 +1,13 @@
+2017-08-08  Brent Fulgham  <bfulg...@apple.com>
+
+        Unreviewed build fix after r220376.
+
+        Don't attempt to use isPublicSuffix when building without that
+        feature enabled.
+
+        * dom/Document.cpp:
+        (WebCore::Document::domainIsRegisterable const):
+
 2017-08-08  Michael Catanzaro  <mcatanz...@igalia.com>
 
         [CMake] Properly test if compiler supports compiler flags

Modified: trunk/Source/WebCore/dom/Document.cpp (220404 => 220405)


--- trunk/Source/WebCore/dom/Document.cpp	2017-08-08 16:00:06 UTC (rev 220404)
+++ trunk/Source/WebCore/dom/Document.cpp	2017-08-08 16:13:48 UTC (rev 220405)
@@ -4475,7 +4475,11 @@
     if (potentialPublicSuffix.startsWith('.'))
         potentialPublicSuffix.remove(0, 1);
 
+#if ENABLE(PUBLIC_SUFFIX_LIST)
     return !isPublicSuffix(potentialPublicSuffix);
+#else
+    return true;
+#endif
 }
 
 ExceptionOr<void> Document::setDomain(const String& newDomain)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to