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

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

Issue 1992873004: Replace all occurrences of RELEASE_ASSERT in wtf with CHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Specialized dchecks in utils.h. Created 4 years, 7 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
Index: third_party/WebKit/Source/wtf/Functional.h
diff --git a/third_party/WebKit/Source/wtf/Functional.h b/third_party/WebKit/Source/wtf/Functional.h
index 694963ae2bbf6c31b8e9394669225d86d7af404f..9bc743259e3bbc9b6177df525ce9571013f90f41 100644
--- a/third_party/WebKit/Source/wtf/Functional.h
+++ b/third_party/WebKit/Source/wtf/Functional.h
@@ -306,7 +306,7 @@ protected:
// must be called and destructed on the thread where it is created.
// If it is intended to be used cross-thread, use
// blink::threadSafeBind() or blink::createCrossThreadTask() instead.
- RELEASE_ASSERT(m_createdThread == currentThread());
+ CHECK_EQ(m_createdThread, currentThread());
}
private:

Powered by Google App Engine
This is Rietveld 408576698