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

Unified Diff: media/cast/sender/size_adaptable_video_encoder_base.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/cast/sender/size_adaptable_video_encoder_base.h
diff --git a/media/cast/sender/size_adaptable_video_encoder_base.h b/media/cast/sender/size_adaptable_video_encoder_base.h
index 237e3ab9ffc7d9a306bc15ce63ddcc0628d56889..a450a997756f4794df4f0debceaf77d4534fbc95 100644
--- a/media/cast/sender/size_adaptable_video_encoder_base.h
+++ b/media/cast/sender/size_adaptable_video_encoder_base.h
@@ -52,9 +52,7 @@ class SizeAdaptableVideoEncoderBase : public VideoEncoder {
const gfx::Size& frame_size() const {
return frame_size_;
}
- uint32 last_frame_id() const {
- return last_frame_id_;
- }
+ uint32_t last_frame_id() const { return last_frame_id_; }
// Returns a callback that calls OnEncoderStatusChange(). The callback is
// canceled by invalidating its bound weak pointer just before a replacement
@@ -106,7 +104,7 @@ class SizeAdaptableVideoEncoderBase : public VideoEncoder {
int frames_in_encoder_;
// The ID of the last frame that was emitted from |encoder_|.
- uint32 last_frame_id_;
+ uint32_t last_frame_id_;
// NOTE: Weak pointers must be invalidated before all other member variables.
base::WeakPtrFactory<SizeAdaptableVideoEncoderBase> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698