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

Unified Diff: media/base/bitstream_buffer.h

Issue 2158923004: Convert media constants to constexpr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: media/base/bitstream_buffer.h
diff --git a/media/base/bitstream_buffer.h b/media/base/bitstream_buffer.h
index 677b25602f2a140d5c3183e8e9f2289c818929f5..35793c079d28bb1dae50bcf6dfa220c7d16d7787 100644
--- a/media/base/bitstream_buffer.h
+++ b/media/base/bitstream_buffer.h
@@ -33,12 +33,12 @@ class MEDIA_EXPORT BitstreamBuffer {
// is |size| bytes. When not provided, the default value for |offset| is 0.
// |presentation_timestamp| is when the decoded frame should be displayed.
// When not provided, |presentation_timestamp| will be
- // |media::kNoTimestamp()|.
+ // |media::kNoTimestamp|.
BitstreamBuffer(int32_t id,
base::SharedMemoryHandle handle,
size_t size,
off_t offset = 0,
- base::TimeDelta presentation_timestamp = kNoTimestamp());
+ base::TimeDelta presentation_timestamp = kNoTimestamp);
BitstreamBuffer(const BitstreamBuffer& other);
@@ -56,7 +56,7 @@ class MEDIA_EXPORT BitstreamBuffer {
// The offset to the start of actual bitstream data in the shared memory.
off_t offset() const { return offset_; }
- // The timestamp is only valid if it's not equal to |media::kNoTimestamp()|.
+ // The timestamp is only valid if it's not equal to |media::kNoTimestamp|.
base::TimeDelta presentation_timestamp() const {
return presentation_timestamp_;
}

Powered by Google App Engine
This is Rietveld 408576698