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

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: 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 de82d7dc1d98b2315fdbce6b9530e62d9b89e719..fd376cef85973b1de0fb2adb05c4ed29777548fe 100644
--- a/third_party/WebKit/Source/wtf/Functional.h
+++ b/third_party/WebKit/Source/wtf/Functional.h
@@ -276,7 +276,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