| Index: ppapi/proxy/resource_creation_proxy.cc
|
| diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
|
| index e758035aa9d965d5ad378ac6a4ce2465c7b0650b..02f27236ccb15d38c263a9bc19a9edddaf96073f 100644
|
| --- a/ppapi/proxy/resource_creation_proxy.cc
|
| +++ b/ppapi/proxy/resource_creation_proxy.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -35,6 +35,7 @@
|
| #include "ppapi/shared_impl/ppb_audio_config_shared.h"
|
| #include "ppapi/shared_impl/ppb_font_shared.h"
|
| #include "ppapi/shared_impl/ppb_input_event_shared.h"
|
| +#include "ppapi/shared_impl/ppb_resource_array_shared.h"
|
| #include "ppapi/shared_impl/ppb_url_request_info_shared.h"
|
| #include "ppapi/shared_impl/var.h"
|
| #include "ppapi/thunk/enter.h"
|
| @@ -246,6 +247,15 @@ PP_Resource ResourceCreationProxy::CreateGraphics3DRaw(
|
| return 0;
|
| }
|
|
|
| +PP_Resource ResourceCreationProxy::CreateResourceArray(
|
| + PP_Instance instance,
|
| + const PP_Resource elements[],
|
| + uint32_t size) {
|
| + PPB_ResourceArray_Shared* object = new PPB_ResourceArray_Shared(
|
| + PPB_ResourceArray_Shared::InitAsProxy(), instance, elements, size);
|
| + return object->GetReference();
|
| +}
|
| +
|
| PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance,
|
| PP_Bool vertical) {
|
| NOTIMPLEMENTED(); // Not proxied yet.
|
|
|