Commit 9146f39d authored by pilgrim's avatar pilgrim Committed by Commit bot

Remove obsolete RELEASE_ASSERT macro definition

BUG=596760

Review-Url: https://codereview.chromium.org/2885003003
Cr-Commit-Position: refs/heads/master@{#472274}
parent 830d4857
...@@ -29,9 +29,6 @@ ...@@ -29,9 +29,6 @@
// This file uses some GCC extensions, but it should be compatible with C++ and // This file uses some GCC extensions, but it should be compatible with C++ and
// Objective C++. // Objective C++.
//
// For non-debug builds, everything is disabled by default, except for the
// RELEASE_ASSERT family of macros.
#include <stdarg.h> #include <stdarg.h>
#include "base/allocator/partition_allocator/oom.h" #include "base/allocator/partition_allocator/oom.h"
...@@ -169,17 +166,6 @@ class WTF_EXPORT ScopedLogger { ...@@ -169,17 +166,6 @@ class WTF_EXPORT ScopedLogger {
#define SECURITY_CHECK(condition) CHECK(condition) #define SECURITY_CHECK(condition) CHECK(condition)
#endif #endif
// RELEASE_ASSERT
// Use in places where failure of an assertion indicates a definite security
// vulnerability from which execution must not continue even in a release build.
// Please sure to file bugs for these failures using the security template:
// http://code.google.com/p/chromium/issues/entry?template=Security%20Bug
#if defined(ADDRESS_SANITIZER)
#define RELEASE_ASSERT(condition) SECURITY_CHECK(condition)
#else
#define RELEASE_ASSERT(condition) CHECK(condition)
#endif
// DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES // DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES
// Allow equality comparisons of Objects by reference or pointer, // Allow equality comparisons of Objects by reference or pointer,
// interchangeably. This can be only used on types whose equality makes no // interchangeably. This can be only used on types whose equality makes no
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment