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

Unified Diff: media/base/video_frame_metadata.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/video_frame_metadata.cc
diff --git a/media/base/video_frame_metadata.cc b/media/base/video_frame_metadata.cc
index 938a0181713e0fb06e1fc94c8b5868627efd20c8..af2d36dbc4c1167a87dae97673ccf1906ef63429 100644
--- a/media/base/video_frame_metadata.cc
+++ b/media/base/video_frame_metadata.cc
@@ -52,7 +52,7 @@ template<class TimeType>
void SetTimeValue(VideoFrameMetadata::Key key,
const TimeType& value,
base::DictionaryValue* dictionary) {
- const int64 internal_value = value.ToInternalValue();
+ const int64_t internal_value = value.ToInternalValue();
dictionary->SetWithoutPathExpansion(
ToInternalKey(key),
base::BinaryValue::CreateWithCopiedBuffer(
@@ -100,7 +100,7 @@ namespace {
template<class TimeType>
bool ToTimeValue(const base::BinaryValue& binary_value, TimeType* value) {
DCHECK(value);
- int64 internal_value;
+ int64_t internal_value;
if (binary_value.GetSize() != sizeof(internal_value))
return false;
memcpy(&internal_value, binary_value.GetBuffer(), sizeof(internal_value));

Powered by Google App Engine
This is Rietveld 408576698