Index: media/base/video_frame.cc |
diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc |
index 332c3c5d3995581e10d0c5449afeb53c4842b623..5fce79dd5bdf3ea550c4e8287acbd7d6fe3067d6 100644 |
--- a/media/base/video_frame.cc |
+++ b/media/base/video_frame.cc |
@@ -166,6 +166,10 @@ void VideoFrame::CreateBlackFrame(int width, int height, |
*frame_out = frame; |
} |
+VideoFrame::SurfaceType VideoFrame::type() const { |
+ return type_; |
+} |
+ |
static inline size_t RoundUp(size_t value, size_t alignment) { |
// Check that |alignment| is a power of 2. |
DCHECK((alignment + (alignment - 1)) == (alignment | (alignment - 1))); |