Changeset 228110 in webkit


Ignore:
Timestamp:
Feb 5, 2018 11:43:35 AM (6 years ago)
Author:
Antti Koivisto
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r228109 r228110  
     12018-02-05  Antti Koivisto  <antti@apple.com>
     2
     3        Make ASSERT_WITH_SECURITY_IMPLICATION in CachedResourceClientWalker::next a release assert
     4        https://bugs.webkit.org/show_bug.cgi?id=182492
     5
     6        Reviewed by Youenn Fablet.
     7
     8        * loader/cache/CachedResourceClientWalker.h:
     9        (WebCore::CachedResourceClientWalker::next):
     10
    1112018-02-05  John Wilander  <wilander@apple.com>
    212
  • trunk/Source/WebCore/loader/cache/CachedResourceClientWalker.h

    r215211 r228110  
    5151            CachedResourceClient* next = m_clientVector[m_index++];
    5252            if (m_clientSet.contains(next)) {
    53                 ASSERT_WITH_SECURITY_IMPLICATION(T::expectedType() == CachedResourceClient::expectedType() || next->resourceClientType() == T::expectedType());
     53                RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(T::expectedType() == CachedResourceClient::expectedType() || next->resourceClientType() == T::expectedType());
    5454                return static_cast<T*>(next);
    5555            }
Note: See TracChangeset for help on using the changeset viewer.