Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: third_party/WebKit/Source/wtf/Assertions.h

Issue 1699983002: Editing: Make |EditingState*| arguments of CompositeEditCommand::moveParagraph* mandatory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Assertions.h
diff --git a/third_party/WebKit/Source/wtf/Assertions.h b/third_party/WebKit/Source/wtf/Assertions.h
index baa21168533c6c2d6ee78ec052540975451133b1..7b553113aafe8683060df88cf5b2debbee1e06a1 100644
--- a/third_party/WebKit/Source/wtf/Assertions.h
+++ b/third_party/WebKit/Source/wtf/Assertions.h
@@ -244,15 +244,11 @@ while (0)
Please sure to file bugs for these failures using the security template:
http://code.google.com/p/chromium/issues/entry?template=Security%20Bug
*/
-// RELEASE_ASSERT* are deprecated. We should use:
-// - CHECK() for RELEASE_ASSERT()
-// - RELEASE_NOTREACHED() for RELEASE_ASSERT_NOT_REACHED().
+// RELEASE_ASSERT is deprecated. We should use CHECK() instead.
#if ENABLE(ASSERT)
#define RELEASE_ASSERT(assertion) ASSERT(assertion)
-#define RELEASE_ASSERT_NOT_REACHED() ASSERT_NOT_REACHED()
#else
#define RELEASE_ASSERT(assertion) (UNLIKELY(!(assertion)) ? (IMMEDIATE_CRASH()) : (void)0)
-#define RELEASE_ASSERT_NOT_REACHED() IMMEDIATE_CRASH()
#endif
// TODO(tkent): Move this to base/logging.h?
#define RELEASE_NOTREACHED() LOG(FATAL)
« no previous file with comments | « third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698