summaryrefslogtreecommitdiff
path: root/chromium/media/base/mac/video_frame_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/base/mac/video_frame_mac.h')
-rw-r--r--chromium/media/base/mac/video_frame_mac.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/media/base/mac/video_frame_mac.h b/chromium/media/base/mac/video_frame_mac.h
index 93bcb77b362..2d316e27177 100644
--- a/chromium/media/base/mac/video_frame_mac.h
+++ b/chromium/media/base/mac/video_frame_mac.h
@@ -1,4 +1,4 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,6 +8,7 @@
#include <CoreVideo/CVPixelBuffer.h>
#include "base/mac/scoped_cftyperef.h"
+#include "base/memory/ref_counted.h"
#include "media/base/media_export.h"
namespace media {
@@ -23,7 +24,7 @@ class VideoFrame;
// (the visible rect's size does not match the coded size) are not supported.
// If an unsupported frame is specified, null is returned.
MEDIA_EXPORT base::ScopedCFTypeRef<CVPixelBufferRef>
-WrapVideoFrameInCVPixelBuffer(const VideoFrame& frame);
+WrapVideoFrameInCVPixelBuffer(scoped_refptr<VideoFrame> frame);
} // namespace media