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

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

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/AudioArray.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioArray.h b/third_party/WebKit/Source/platform/audio/AudioArray.h
index fa2dae49d3afd9a450a80a1cbbf84c6c29699cb8..c04427c14e056efd939ab50381de6569ac845aef 100644
--- a/third_party/WebKit/Source/platform/audio/AudioArray.h
+++ b/third_party/WebKit/Source/platform/audio/AudioArray.h
@@ -109,7 +109,7 @@ class AudioArray {
T& at(size_t i) {
// Note that although it is a size_t, m_size is now guaranteed to be
// no greater than max unsigned. This guarantee is enforced in allocate().
- ASSERT_WITH_SECURITY_IMPLICATION(i < size());
+ SECURITY_DCHECK(i < size());
return data()[i];
}
« no previous file with comments | « third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp ('k') | third_party/WebKit/Source/platform/audio/AudioFIFO.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698