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

Unified Diff: media/filters/audio_decoder_unittest.cc

Issue 662503003: Convert ARRAYSIZE_UNSAFE -> arraysize in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « media/base/seekable_buffer_unittest.cc ('k') | media/video/capture/win/video_capture_device_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_decoder_unittest.cc
diff --git a/media/filters/audio_decoder_unittest.cc b/media/filters/audio_decoder_unittest.cc
index 23e21ef7d896e9b8bf19d788170ff69e7857d840..1835d2985b0c4e0f2524b3fc68dc6a860deaa013 100644
--- a/media/filters/audio_decoder_unittest.cc
+++ b/media/filters/audio_decoder_unittest.cc
@@ -378,7 +378,7 @@ TEST_P(OpusAudioDecoderBehavioralTest, InitializeWithNoCodecDelay) {
CHANNEL_LAYOUT_STEREO,
48000,
kOpusExtraData,
- ARRAYSIZE_UNSAFE(kOpusExtraData),
+ arraysize(kOpusExtraData),
false,
false,
base::TimeDelta::FromMilliseconds(80),
@@ -395,7 +395,7 @@ TEST_P(OpusAudioDecoderBehavioralTest, InitializeWithBadCodecDelay) {
CHANNEL_LAYOUT_STEREO,
48000,
kOpusExtraData,
- ARRAYSIZE_UNSAFE(kOpusExtraData),
+ arraysize(kOpusExtraData),
false,
false,
base::TimeDelta::FromMilliseconds(80),
« no previous file with comments | « media/base/seekable_buffer_unittest.cc ('k') | media/video/capture/win/video_capture_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698