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

Unified Diff: media/base/android/test_data_factory.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/android/test_data_factory.cc
diff --git a/media/base/android/test_data_factory.cc b/media/base/android/test_data_factory.cc
index e9012d8572cc6da4407b2feb5152bb3e420a5a42..a6f3db8b6101c8dc632cf2d2ff908d4e3998af47 100644
--- a/media/base/android/test_data_factory.cc
+++ b/media/base/android/test_data_factory.cc
@@ -26,7 +26,7 @@ DemuxerConfigs TestDataFactory::CreateAudioConfigs(AudioCodec audio_codec,
configs.audio_sampling_rate = 44100;
scoped_refptr<DecoderBuffer> buffer =
ReadTestDataFile("vorbis-extradata");
- configs.audio_extra_data = std::vector<uint8>(
+ configs.audio_extra_data = std::vector<uint8_t>(
buffer->data(), buffer->data() + buffer->data_size());
} break;
@@ -156,8 +156,8 @@ void TestDataFactory::LoadPackets(const char* file_name_template) {
for (int i = 0; i < 4; ++i) {
scoped_refptr<DecoderBuffer> buffer =
ReadTestDataFile(base::StringPrintf(file_name_template, i));
- packet_[i] = std::vector<uint8>(buffer->data(),
- buffer->data() + buffer->data_size());
+ packet_[i] = std::vector<uint8_t>(buffer->data(),
+ buffer->data() + buffer->data_size());
}
}

Powered by Google App Engine
This is Rietveld 408576698