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

Unified Diff: media/base/video_frame.cc

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/video_frame.cc
diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc
index 2de6bd36d5cdffb60956aa515a3824671db29b7d..a854fa7fe6b512036f7c1b628ab67bf08103e3b2 100644
--- a/media/base/video_frame.cc
+++ b/media/base/video_frame.cc
@@ -464,7 +464,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapVideoFrame(
scoped_refptr<VideoFrame> VideoFrame::CreateEOSFrame() {
scoped_refptr<VideoFrame> frame =
new VideoFrame(PIXEL_FORMAT_UNKNOWN, STORAGE_UNKNOWN, gfx::Size(),
- gfx::Rect(), gfx::Size(), kNoTimestamp());
+ gfx::Rect(), gfx::Size(), kNoTimestamp);
frame->metadata()->SetBoolean(VideoFrameMetadata::END_OF_STREAM, true);
return frame;
}

Powered by Google App Engine
This is Rietveld 408576698