Changeset 219101 in webkit


Ignore:
Timestamp:
Jul 3, 2017 3:29:17 PM (7 years ago)
Author:
keith_miller@apple.com
Message:

Fix ifndef in Assertions.h
https://bugs.webkit.org/show_bug.cgi?id=174104

Reviewed by Saam Barati.

The ifndef should have been checking for
CRASH_WITH_SECURITY_IMPLICATION_AND_INFO since that is what the
ifndef defines.

  • wtf/Assertions.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r219082 r219101  
     12017-07-03  Keith Miller  <keith_miller@apple.com>
     2
     3        Fix ifndef in Assertions.h
     4        https://bugs.webkit.org/show_bug.cgi?id=174104
     5
     6        Reviewed by Saam Barati.
     7
     8        The ifndef should have been checking for
     9        CRASH_WITH_SECURITY_IMPLICATION_AND_INFO since that is what the
     10        ifndef defines.
     11
     12        * wtf/Assertions.h:
     13
    1142017-07-03  Andy Estes  <aestes@apple.com>
    215
  • trunk/Source/WTF/wtf/Assertions.h

    r219046 r219101  
    493493}
    494494
    495 #ifndef INLINE_CRASH_WITH_SECURITY_IMPLICATION_AND_INFO
     495#ifndef CRASH_WITH_SECURITY_IMPLICATION_AND_INFO
    496496// This is useful if you are going to stuff data into registers before crashing. Like the crashWithInfo functions below...
    497497// GCC doesn't like the ##__VA_ARGS__ here since this macro is called from another macro so we just CRASH instead there.
     
    504504#define CRASH_WITH_SECURITY_IMPLICATION_AND_INFO(...) CRASH()
    505505#endif
    506 #endif // INLINE_CRASH_WITH_SECURITY_IMPLICATION_AND_INFO
     506#endif // CRASH_WITH_SECURITY_IMPLICATION_AND_INFO
    507507
    508508#endif // __cplusplus
Note: See TracChangeset for help on using the changeset viewer.