blob: ba430d775c233e0d166e59cb450a60dc2219f1fc [file] [log] [blame]
[email protected]11f515ac2012-03-26 22:21:591// Copyright (c) 2012 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 "ppapi/proxy/proxy_array_output.h"
6
[email protected]11f515ac2012-03-26 22:21:597
8namespace ppapi {
9namespace proxy {
10
11// static
12void* ArrayOutputAdapterBase::GetDataBufferThunk(void* user_data,
13 uint32_t element_count,
14 uint32_t element_size) {
15 return static_cast<ArrayOutputAdapterBase*>(user_data)->
16 GetDataBuffer(element_count, element_size);
17}
18
19} // namespace proxy
20} // namespace ppapi