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

Unified Diff: media/formats/webm/webm_video_client.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/formats/webm/webm_video_client.h
diff --git a/media/formats/webm/webm_video_client.h b/media/formats/webm/webm_video_client.h
index f2f1df4c9fd330123aec126a52614ea9ac794da6..12a6cbb6aeb95435d2848e42a76998a9bd3e6410 100644
--- a/media/formats/webm/webm_video_client.h
+++ b/media/formats/webm/webm_video_client.h
@@ -31,27 +31,27 @@ class WebMVideoClient : public WebMParserClient {
// video track element fields. The contents of |config| are undefined in this
// case and should not be relied upon.
bool InitializeConfig(const std::string& codec_id,
- const std::vector<uint8>& codec_private,
+ const std::vector<uint8_t>& codec_private,
bool is_encrypted,
VideoDecoderConfig* config);
private:
// WebMParserClient implementation.
- bool OnUInt(int id, int64 val) override;
- bool OnBinary(int id, const uint8* data, int size) override;
+ bool OnUInt(int id, int64_t val) override;
+ bool OnBinary(int id, const uint8_t* data, int size) override;
bool OnFloat(int id, double val) override;
scoped_refptr<MediaLog> media_log_;
- int64 pixel_width_;
- int64 pixel_height_;
- int64 crop_bottom_;
- int64 crop_top_;
- int64 crop_left_;
- int64 crop_right_;
- int64 display_width_;
- int64 display_height_;
- int64 display_unit_;
- int64 alpha_mode_;
+ int64_t pixel_width_;
+ int64_t pixel_height_;
+ int64_t crop_bottom_;
+ int64_t crop_top_;
+ int64_t crop_left_;
+ int64_t crop_right_;
+ int64_t display_width_;
+ int64_t display_height_;
+ int64_t display_unit_;
+ int64_t alpha_mode_;
DISALLOW_COPY_AND_ASSIGN(WebMVideoClient);
};

Powered by Google App Engine
This is Rietveld 408576698