Title: [228110] trunk/Source/WebCore
Revision
228110
Author
[email protected]
Date
2018-02-05 11:43:35 -0800 (Mon, 05 Feb 2018)

Log Message

Make ASSERT_WITH_SECURITY_IMPLICATION in CachedResourceClientWalker::next a release assert
https://bugs.webkit.org/show_bug.cgi?id=182492

Reviewed by Youenn Fablet.

* loader/cache/CachedResourceClientWalker.h:
(WebCore::CachedResourceClientWalker::next):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (228109 => 228110)


--- trunk/Source/WebCore/ChangeLog	2018-02-05 19:35:13 UTC (rev 228109)
+++ trunk/Source/WebCore/ChangeLog	2018-02-05 19:43:35 UTC (rev 228110)
@@ -1,3 +1,13 @@
+2018-02-05  Antti Koivisto  <[email protected]>
+
+        Make ASSERT_WITH_SECURITY_IMPLICATION in CachedResourceClientWalker::next a release assert
+        https://bugs.webkit.org/show_bug.cgi?id=182492
+
+        Reviewed by Youenn Fablet.
+
+        * loader/cache/CachedResourceClientWalker.h:
+        (WebCore::CachedResourceClientWalker::next):
+
 2018-02-05  John Wilander  <[email protected]>
 
         Storage Access API: Add testRunner.getAllStorageAccessEntries() to make testing easier and more explicit

Modified: trunk/Source/WebCore/loader/cache/CachedResourceClientWalker.h (228109 => 228110)


--- trunk/Source/WebCore/loader/cache/CachedResourceClientWalker.h	2018-02-05 19:35:13 UTC (rev 228109)
+++ trunk/Source/WebCore/loader/cache/CachedResourceClientWalker.h	2018-02-05 19:43:35 UTC (rev 228110)
@@ -50,7 +50,7 @@
         while (m_index < size) {
             CachedResourceClient* next = m_clientVector[m_index++];
             if (m_clientSet.contains(next)) {
-                ASSERT_WITH_SECURITY_IMPLICATION(T::expectedType() == CachedResourceClient::expectedType() || next->resourceClientType() == T::expectedType());
+                RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(T::expectedType() == CachedResourceClient::expectedType() || next->resourceClientType() == T::expectedType());
                 return static_cast<T*>(next);
             }
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to