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

Unified Diff: third_party/WebKit/Source/wtf/WTF.cpp

Issue 1840163002: Replace all occurrences of RELEASE_ASSERT in wtf with CHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use CHECK_NE instead of CHECK. 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/wtf/Vector.h ('k') | third_party/WebKit/Source/wtf/dtoa/utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/WTF.cpp
diff --git a/third_party/WebKit/Source/wtf/WTF.cpp b/third_party/WebKit/Source/wtf/WTF.cpp
index 6129847b5eca6341f79bbb7ae55e47a448acf482..94200befa85cac115a8a15e9bd19447d78326056 100644
--- a/third_party/WebKit/Source/wtf/WTF.cpp
+++ b/third_party/WebKit/Source/wtf/WTF.cpp
@@ -65,8 +65,8 @@ void initialize(void (*callOnMainThreadFunction)(MainThreadFunction, void*))
{
// WTF, and Blink in general, cannot handle being re-initialized, even if shutdown first.
// Make that explicit here.
- RELEASE_ASSERT(!s_initialized);
- RELEASE_ASSERT(!s_shutdown);
+ CHECK(!s_initialized);
+ CHECK(!s_shutdown);
s_initialized = true;
initializeThreading();
@@ -78,8 +78,8 @@ void initialize(void (*callOnMainThreadFunction)(MainThreadFunction, void*))
void shutdown()
{
- RELEASE_ASSERT(s_initialized);
- RELEASE_ASSERT(!s_shutdown);
+ CHECK(s_initialized);
+ CHECK(!s_shutdown);
s_shutdown = true;
}
« no previous file with comments | « third_party/WebKit/Source/wtf/Vector.h ('k') | third_party/WebKit/Source/wtf/dtoa/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698