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

Unified Diff: media/base/bitstream_buffer.cc

Issue 1645873002: Use ParamTraits for media::BitstreamBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compiling errors on mac and address review comments Created 4 years, 10 months 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
« content/common/gpu/gpu_messages.cc ('K') | « media/base/bitstream_buffer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/bitstream_buffer.cc
diff --git a/media/base/bitstream_buffer.cc b/media/base/bitstream_buffer.cc
index 49caf5b8215cf03622a04e9a673bce76081d8355..9966aaca6baf028d335af7b6a0b11f59c1c59f2b 100644
--- a/media/base/bitstream_buffer.cc
+++ b/media/base/bitstream_buffer.cc
@@ -6,6 +6,9 @@
namespace media {
+BitstreamBuffer::BitstreamBuffer()
+ : id_(-1), size_(0), presentation_timestamp_(kNoTimestamp()) {}
+
BitstreamBuffer::BitstreamBuffer(int32_t id,
base::SharedMemoryHandle handle,
size_t size)
« content/common/gpu/gpu_messages.cc ('K') | « media/base/bitstream_buffer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698