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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp

Issue 1826733002: Remove ASSERT_WITH_MESSAGE family. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp
index 6ecb497f2a027d557bc68f447b8e605eb1ae570e..b7e55de0e324a5bfb438dc4108f89d9bb1f06519 100644
--- a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp
@@ -59,11 +59,11 @@ void DeferredTaskHandler::unlock()
void DeferredTaskHandler::offlineLock()
{
- // RELEASE_ASSERT is here to make sure to explicitly crash if this is called
- // from other than the offline render thread, which is considered as the
- // audio thread in OfflineAudioContext.
- RELEASE_ASSERT_WITH_MESSAGE(isAudioThread(),
- "DeferredTaskHandler::offlineLock() must be called within the offline audio thread.");
+ // CHECK is here to make sure to explicitly crash if this is called from
+ // other than the offline render thread, which is considered as the audio
+ // thread in OfflineAudioContext.
+ CHECK(isAudioThread())
+ << "DeferredTaskHandler::offlineLock() must be called within the offline audio thread.";
m_contextGraphMutex.lock();
}

Powered by Google App Engine
This is Rietveld 408576698