• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "content/renderer/media/native_handle_impl.h"
6 
7 namespace content {
8 
NativeHandleImpl(scoped_refptr<media::VideoFrame> frame)9 NativeHandleImpl::NativeHandleImpl(scoped_refptr<media::VideoFrame> frame)
10     : frame_(frame) {}
11 
~NativeHandleImpl()12 NativeHandleImpl::~NativeHandleImpl() {}
13 
GetHandle()14 void* NativeHandleImpl::GetHandle() { return frame_.get(); }
15 
16 }  // namespace content
17