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

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

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix Created 4 years, 2 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/AudioFIFO.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioFIFO.cpp b/third_party/WebKit/Source/platform/audio/AudioFIFO.cpp
index 13150b1a896a62f12f8bf1c2f6363a3756f45673..c35ce14df01364152229796decdc565d2558150e 100644
--- a/third_party/WebKit/Source/platform/audio/AudioFIFO.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioFIFO.cpp
@@ -124,8 +124,7 @@ void AudioFIFO::findWrapLengths(size_t index,
size_t size,
size_t& part1Length,
size_t& part2Length) {
- ASSERT_WITH_SECURITY_IMPLICATION(index < m_fifoLength &&
- size <= m_fifoLength);
+ SECURITY_DCHECK(index < m_fifoLength && size <= m_fifoLength);
if (index < m_fifoLength && size <= m_fifoLength) {
if (index + size > m_fifoLength) {
// Need to wrap. Figure out the length of each piece.
« no previous file with comments | « third_party/WebKit/Source/platform/audio/AudioArray.h ('k') | third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698