Title: [254370] trunk/Source/WebKit
Revision
254370
Author
[email protected]
Date
2020-01-10 14:52:23 -0800 (Fri, 10 Jan 2020)

Log Message

Gardening: simple build fix after r254119.

Not reviewed.

We should be using ASSERT_ENABLED instead of ASSERT_DSIABLED.

* NetworkProcess/soup/NetworkDataTaskSoup.cpp:
(WebKit::NetworkDataTaskSoup::sendRequestCallback):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (254369 => 254370)


--- trunk/Source/WebKit/ChangeLog	2020-01-10 22:48:30 UTC (rev 254369)
+++ trunk/Source/WebKit/ChangeLog	2020-01-10 22:52:23 UTC (rev 254370)
@@ -1,3 +1,14 @@
+2020-01-10  Mark Lam  <[email protected]>
+
+        Gardening: simple build fix after r254119.
+
+        Not reviewed.
+
+        We should be using ASSERT_ENABLED instead of ASSERT_DSIABLED.
+
+        * NetworkProcess/soup/NetworkDataTaskSoup.cpp:
+        (WebKit::NetworkDataTaskSoup::sendRequestCallback):
+
 2020-01-10  Brent Fulgham  <[email protected]>
 
         [iOS] Remove 'com.apple.powerlog.plxpclogger.xpc' from the WebContent process sandbox

Modified: trunk/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp (254369 => 254370)


--- trunk/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp	2020-01-10 22:48:30 UTC (rev 254369)
+++ trunk/Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp	2020-01-10 22:52:23 UTC (rev 254370)
@@ -300,7 +300,7 @@
         // This can happen when the request is cancelled and a new one is started before
         // the previous async operation completed. This is common when forcing a redirection
         // due to HSTS. We can simply ignore this old request.
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
         GUniqueOutPtr<GError> error;
         GRefPtr<GInputStream> inputStream = adoptGRef(soup_request_send_finish(soupRequest, result, &error.outPtr()));
         ASSERT(g_error_matches(error.get(), G_IO_ERROR, G_IO_ERROR_CANCELLED));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to