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

Unified Diff: media/filters/source_buffer_range.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/filters/source_buffer_range.h
diff --git a/media/filters/source_buffer_range.h b/media/filters/source_buffer_range.h
index 7e35dbdeee7275abb51c6a3d0ce2ab02dcc617ea..5a612142fc53a6a09c95136eac1814592730255e 100644
--- a/media/filters/source_buffer_range.h
+++ b/media/filters/source_buffer_range.h
@@ -178,7 +178,7 @@ class SourceBufferRange {
void ResetNextBufferPosition();
// Returns the timestamp of the next buffer that will be returned from
- // GetNextBuffer(), or kNoTimestamp() if the timestamp is unknown.
+ // GetNextBuffer(), or kNoTimestamp if the timestamp is unknown.
DecodeTimestamp GetNextTimestamp() const;
// Returns the start timestamp of the range.
@@ -193,7 +193,7 @@ class SourceBufferRange {
DecodeTimestamp GetBufferedEndTimestamp() const;
// Gets the timestamp for the keyframe that is after |timestamp|. If
- // there isn't a keyframe in the range after |timestamp| then kNoTimestamp()
+ // there isn't a keyframe in the range after |timestamp| then kNoTimestamp
// is returned. If |timestamp| is in the "gap" between the value returned by
// GetStartTimestamp() and the timestamp on the first buffer in |buffers_|,
// then |timestamp| is returned.
@@ -201,7 +201,7 @@ class SourceBufferRange {
// Gets the timestamp for the closest keyframe that is <= |timestamp|. If
// there isn't a keyframe before |timestamp| or |timestamp| is outside
- // this range, then kNoTimestamp() is returned.
+ // this range, then kNoTimestamp is returned.
DecodeTimestamp KeyframeBeforeTimestamp(DecodeTimestamp timestamp);
// Returns whether a buffer with a starting timestamp of |timestamp| would

Powered by Google App Engine
This is Rietveld 408576698