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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioChannel.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/AudioChannel.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioChannel.cpp b/third_party/WebKit/Source/platform/audio/AudioChannel.cpp
index 459e85ac53744c2ff07480bd27ff41dc0c27f269..751fc1dcd419f0ec16933246afb949d7c7017e3c 100644
--- a/third_party/WebKit/Source/platform/audio/AudioChannel.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioChannel.cpp
@@ -36,7 +36,7 @@
using namespace VectorMath;
void AudioChannel::resizeSmaller(size_t newLength) {
- DCHECK_LE(newLength, m_length);
+ ASSERT(newLength <= m_length);
if (newLength <= m_length)
m_length = newLength;
}

Powered by Google App Engine
This is Rietveld 408576698