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

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

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/ThreadRestrictionVerifier.h
diff --git a/third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h b/third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h
index c28853641ca60d20cbb378f5f1107e96014e09b8..f215223db6ceac5d0e3acc029d8aae4108d5dbce 100644
--- a/third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h
+++ b/third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h
@@ -88,7 +88,7 @@ class ThreadRestrictionVerifier {
if (!m_shared)
return;
- ASSERT_UNUSED(previouslyShared, shared != previouslyShared);
+ DCHECK_NE(shared, previouslyShared);
// Capture the current thread to verify that subsequent ref/deref happen on
// this thread.
m_owningThread = currentThread();

Powered by Google App Engine
This is Rietveld 408576698