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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.cpp

Issue 2518933002: Remove RELEASE_NOTREACHED(). (Closed)
Patch Set: Created 4 years, 1 month 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
Index: third_party/WebKit/Source/platform/heap/ThreadState.cpp
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
index 51f445faefbdd78aa69d3af639483164e9f9316a..9057cec1faf2a469839695d299c41d01ff2d33ec 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -913,9 +913,9 @@ void ThreadState::schedulePreciseGC() {
namespace {
-#define UNEXPECTED_GCSTATE(s) \
- case ThreadState::s: \
- RELEASE_NOTREACHED() << "Unexpected transition while in GCState " #s; \
+#define UNEXPECTED_GCSTATE(s) \
+ case ThreadState::s: \
+ LOG(FATAL) << "Unexpected transition while in GCState " #s; \
return
void unexpectedGCState(ThreadState::GCState gcState) {
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp ('k') | third_party/WebKit/Source/wtf/Assertions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698