| Index: third_party/WebKit/Source/core/editing/commands/EditingState.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditingState.h b/third_party/WebKit/Source/core/editing/commands/EditingState.h
|
| index ab20a8784c2cdd9f40ffce75cd5be23e32771903..64c59279da93206ee3ee011998d82a063cace04b 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditingState.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditingState.h
|
| @@ -61,7 +61,7 @@ private:
|
| } \
|
| } while (false)
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| // This class is inspired by |NoExceptionStateAssertionChecker|.
|
| class NoEditingAbortChecker final {
|
| STACK_ALLOCATED();
|
| @@ -81,7 +81,7 @@ private:
|
| // If a function with EditingState* argument should not be aborted,
|
| // ASSERT_NO_EDITING_ABORT should be specified.
|
| // fooFunc(...., ASSERT_NO_EDITING_ABORT);
|
| -// It causes an assertion failure If ENABLE(ASSERT) and the function was aborted
|
| +// It causes an assertion failure If DCHECK_IS_ON() and the function was aborted
|
| // unexpectedly.
|
| #define ASSERT_NO_EDITING_ABORT (NoEditingAbortChecker(__FILE__, __LINE__).editingState())
|
| #else
|
|
|