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

Unified Diff: third_party/WebKit/Source/platform/audio/HRTFDatabase.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/HRTFDatabase.cpp
diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp b/third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp
index ff2b86d78fe17c8b68d16a2c56b8cce12267e40e..fdebf372e7bc7d63d2111cc321ddd0070b3fd831 100644
--- a/third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp
+++ b/third_party/WebKit/Source/platform/audio/HRTFDatabase.cpp
@@ -90,8 +90,8 @@ void HRTFDatabase::getKernelsFromAzimuthElevation(double azimuthBlend,
double& frameDelayL,
double& frameDelayR) {
unsigned elevationIndex = indexFromElevationAngle(elevationAngle);
- ASSERT_WITH_SECURITY_IMPLICATION(elevationIndex < m_elevations.size() &&
- m_elevations.size() > 0);
+ SECURITY_DCHECK(elevationIndex < m_elevations.size() &&
+ m_elevations.size() > 0);
if (!m_elevations.size()) {
kernelL = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/audio/AudioFIFO.cpp ('k') | third_party/WebKit/Source/platform/fonts/GlyphBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698