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

Unified Diff: media/filters/webvtt_util.h

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/filters/webvtt_util.h
diff --git a/media/filters/webvtt_util.h b/media/filters/webvtt_util.h
index b71b66f72052497dd5c0c6628a55670ef958a11c..d5ffa73ec5604b81a0f4c00a7c0fe79ae34ca383 100644
--- a/media/filters/webvtt_util.h
+++ b/media/filters/webvtt_util.h
@@ -10,10 +10,12 @@
namespace media {
// Utility function to create side data item for decoder buffer.
-template<typename T>
-void MakeSideData(T id_begin, T id_end,
- T settings_begin, T settings_end,
- std::vector<uint8>* side_data) {
+template <typename T>
+void MakeSideData(T id_begin,
+ T id_end,
+ T settings_begin,
+ T settings_end,
+ std::vector<uint8_t>* side_data) {
// The DecoderBuffer only supports a single side data item. In the case of
// a WebVTT cue, we can have potentially two side data items. In order to
// avoid disrupting DecoderBuffer any more than we need to, we copy both

Powered by Google App Engine
This is Rietveld 408576698