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

Unified Diff: media/base/audio_discard_helper.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/audio_discard_helper.h
diff --git a/media/base/audio_discard_helper.h b/media/base/audio_discard_helper.h
index 4b021fea788104478f1b91f175b52b802bb32bbf..544c4cfa2e28232ffa59de45856980c7a19c723e 100644
--- a/media/base/audio_discard_helper.h
+++ b/media/base/audio_discard_helper.h
@@ -60,7 +60,7 @@ class MEDIA_EXPORT AudioDiscardHelper {
// Whether any buffers have been processed.
bool initialized() const {
- return timestamp_helper_.base_timestamp() != kNoTimestamp();
+ return timestamp_helper_.base_timestamp() != kNoTimestamp;
}
private:

Powered by Google App Engine
This is Rietveld 408576698