Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / renderer / media / native_handle_impl.cc
blob3988e3934b192fe96076878e791f6cef2498e3ff
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.
5 #include "content/renderer/media/native_handle_impl.h"
7 namespace content {
9 NativeHandleImpl::NativeHandleImpl(scoped_refptr<media::VideoFrame> frame)
10 : frame_(frame) {}
12 NativeHandleImpl::~NativeHandleImpl() {}
14 void* NativeHandleImpl::GetHandle() { return frame_.get(); }
16 } // namespace content