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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioArray.h

Issue 2803733002: Convert ASSERT(foo) to DCHECK(foo) in platform/audio (Closed)
Patch Set: Mechanical change from ASSERT(foo) to DCHECK(foo) 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/audio/AudioBus.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/audio/AudioArray.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioArray.h b/third_party/WebKit/Source/platform/audio/AudioArray.h
index 6e16a72187a8583df25aa5b8efe1bc70a585749f..8965c14e4def6d54b69ec7374ac0b678d2ea977f 100644
--- a/third_party/WebKit/Source/platform/audio/AudioArray.h
+++ b/third_party/WebKit/Source/platform/audio/AudioArray.h
@@ -122,7 +122,7 @@ class AudioArray {
void zeroRange(unsigned start, unsigned end) {
bool isSafe = (start <= end) && (end <= this->size());
- ASSERT(isSafe);
+ DCHECK(isSafe);
if (!isSafe)
return;
@@ -133,7 +133,7 @@ class AudioArray {
void copyToRange(const T* sourceData, unsigned start, unsigned end) {
bool isSafe = (start <= end) && (end <= this->size());
- ASSERT(isSafe);
+ DCHECK(isSafe);
if (!isSafe)
return;
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/audio/AudioBus.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698