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

Unified Diff: third_party/WebKit/Source/platform/audio/ReverbInputBuffer.cpp

Issue 2807593003: Revert of Convert RELEASE_ASSERT()/ASSERT(...) to CHECK()/DCHECK_op(...) in platform/audio (Closed)
Patch Set: Created 3 years, 8 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/platform/audio/ReverbInputBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/audio/ReverbInputBuffer.cpp b/third_party/WebKit/Source/platform/audio/ReverbInputBuffer.cpp
index 8838bdd264b4e17b1f140bd3f02a4656830bc2ff..ef1f7faebc946eb02004ff8e5ee4d52b45eebd47 100644
--- a/third_party/WebKit/Source/platform/audio/ReverbInputBuffer.cpp
+++ b/third_party/WebKit/Source/platform/audio/ReverbInputBuffer.cpp
@@ -44,7 +44,7 @@
sizeof(float) * numberOfFrames);
m_writeIndex += numberOfFrames;
- DCHECK_LE(m_writeIndex, bufferLength);
+ ASSERT(m_writeIndex <= bufferLength);
if (m_writeIndex >= bufferLength)
m_writeIndex = 0;

Powered by Google App Engine
This is Rietveld 408576698