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

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

Issue 2803073002: Convert RELEASE_ASSERT()/ASSERT(...) to CHECK()/DCHECK_op(...) in platform/audio (Closed)
Patch Set: Removing DCHECK_IS_ON from FFTFrameOpenMAXDLAndroid.cpp 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 751fc1dcd419f0ec16933246afb949d7c7017e3c..459e85ac53744c2ff07480bd27ff41dc0c27f269 100644
--- a/third_party/WebKit/Source/platform/audio/AudioChannel.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioChannel.cpp
@@ -36,7 +36,7 @@ namespace blink {
using namespace VectorMath;
void AudioChannel::resizeSmaller(size_t newLength) {
- ASSERT(newLength <= m_length);
+ DCHECK_LE(newLength, m_length);
if (newLength <= m_length)
m_length = newLength;
}

Powered by Google App Engine
This is Rietveld 408576698