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

Unified Diff: media/base/audio_block_fifo_unittest.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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: media/base/audio_block_fifo_unittest.cc
diff --git a/media/base/audio_block_fifo_unittest.cc b/media/base/audio_block_fifo_unittest.cc
index b46a139ebb074a8726505dfeed00d8cf46f4bce1..81ddecc5cbf27599181838bfe446e9b3bd35aa98 100644
--- a/media/base/audio_block_fifo_unittest.cc
+++ b/media/base/audio_block_fifo_unittest.cc
@@ -30,7 +30,7 @@ class AudioBlockFifoTest : public testing::Test {
DCHECK_LE(frames_to_push, fifo->GetUnfilledFrames());
const int bytes_per_sample = 2;
const int data_byte_size = bytes_per_sample * channels * frames_to_push;
- scoped_ptr<uint8[]> data(new uint8[data_byte_size]);
+ scoped_ptr<uint8_t[]> data(new uint8_t[data_byte_size]);
memset(data.get(), 1, data_byte_size);
fifo->Push(data.get(), frames_to_push, bytes_per_sample);
}

Powered by Google App Engine
This is Rietveld 408576698