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)9NativeHandleImpl::NativeHandleImpl(scoped_refptr<media::VideoFrame> frame) 10 : frame_(frame) {} 11 ~NativeHandleImpl()12NativeHandleImpl::~NativeHandleImpl() {} 13 GetHandle()14void* NativeHandleImpl::GetHandle() { return frame_.get(); } 15 16 } // namespace content 17