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

Unified Diff: media/formats/webm/webm_webvtt_parser_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/formats/webm/webm_webvtt_parser_unittest.cc
diff --git a/media/formats/webm/webm_webvtt_parser_unittest.cc b/media/formats/webm/webm_webvtt_parser_unittest.cc
index ecdabd4297543fc7af62584e2033f2aab541f91b..c40d1a1e19a7dfd87753a7f787c6090c3443349e 100644
--- a/media/formats/webm/webm_webvtt_parser_unittest.cc
+++ b/media/formats/webm/webm_webvtt_parser_unittest.cc
@@ -10,13 +10,13 @@ using ::testing::InSequence;
namespace media {
-typedef std::vector<uint8> Cue;
+typedef std::vector<uint8_t> Cue;
static Cue EncodeCue(const std::string& id,
const std::string& settings,
const std::string& content) {
const std::string result = id + '\n' + settings + '\n' + content;
- const uint8* const buf = reinterpret_cast<const uint8*>(result.data());
+ const uint8_t* const buf = reinterpret_cast<const uint8_t*>(result.data());
return Cue(buf, buf + result.length());
}

Powered by Google App Engine
This is Rietveld 408576698