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

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

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
Index: third_party/WebKit/Source/platform/audio/VectorMath.cpp
diff --git a/third_party/WebKit/Source/platform/audio/VectorMath.cpp b/third_party/WebKit/Source/platform/audio/VectorMath.cpp
index f154b9678314499bcbcd3b597525b0e35e0e59e3..f86ee267281b7fb766a856485002c79cae8e4f53 100644
--- a/third_party/WebKit/Source/platform/audio/VectorMath.cpp
+++ b/third_party/WebKit/Source/platform/audio/VectorMath.cpp
@@ -733,7 +733,7 @@ void vsvesq(const float* sourceP,
sourceP += sourceStride;
}
- ASSERT(sumP);
+ DCHECK(sumP);
*sumP = sum;
}
@@ -829,7 +829,7 @@ void vmaxmgv(const float* sourceP,
sourceP += sourceStride;
}
- ASSERT(maxP);
+ DCHECK(maxP);
*maxP = max;
}

Powered by Google App Engine
This is Rietveld 408576698