Elim cr-checkbox
[chromium-blink-merge.git] / ppapi / proxy / proxy_array_output.cc
blobe550b1ceacf7ad1f94aeffa1a4ff28e3f792ed1f
1 // 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.
5 #include "ppapi/proxy/proxy_array_output.h"
7 #include "base/logging.h"
9 namespace ppapi {
10 namespace proxy {
12 // static
13 void* ArrayOutputAdapterBase::GetDataBufferThunk(void* user_data,
14 uint32_t element_count,
15 uint32_t element_size) {
16 return static_cast<ArrayOutputAdapterBase*>(user_data)->
17 GetDataBuffer(element_count, element_size);
20 } // namespace proxy
21 } // namespace ppapi