Silence -Wparentheses warning triggered by r205266
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Sep 2016 15:21:54 +0000 (15:21 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Sep 2016 15:21:54 +0000 (15:21 +0000)
Unreviewed

* platform/URL.cpp:
(WebCore::URL::URL):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/URL.cpp

index 8eadd6b..c510597 100644 (file)
@@ -1,3 +1,12 @@
+2016-09-03  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Silence -Wparentheses warning triggered by r205266
+
+        Unreviewed
+
+        * platform/URL.cpp:
+        (WebCore::URL::URL):
+
 2016-09-03  Joseph Pecoraro  <pecoraro@apple.com>
 
         Use ASCIILiteral in some more places
index b3a8f91..3553534 100644 (file)
@@ -442,7 +442,7 @@ URL::URL(ParsedURLStringTag, const String& url)
     if (URLParser::enabled()) {
         URLParser parser;
         *this = parser.parse(url);
-        ASSERT(url.isEmpty() && m_string.isEmpty() || url == m_string); // FIXME: Investigate parsing non-null empty ParsedURLStrings.
+        ASSERT((url.isEmpty() && m_string.isEmpty()) || url == m_string); // FIXME: Investigate parsing non-null empty ParsedURLStrings.
     } else {
         parse(url);
 #if OS(WINDOWS)