| Index: src/shared/ppapi_proxy/plugin_buffer.cc
|
| diff --git a/src/shared/ppapi_proxy/plugin_buffer.cc b/src/shared/ppapi_proxy/plugin_buffer.cc
|
| index ee6f56a16aebaa374737809c4d194276405f555d..dc9839e6c3e5680d41f39eaef9f2f858c0ea40b3 100644
|
| --- a/src/shared/ppapi_proxy/plugin_buffer.cc
|
| +++ b/src/shared/ppapi_proxy/plugin_buffer.cc
|
| @@ -25,8 +25,8 @@ PP_Resource Create(PP_Module module, int32_t size_in_bytes) {
|
| }
|
|
|
| PP_Bool IsBuffer(PP_Resource resource) {
|
| - UNREFERENCED_PARAMETER(resource);
|
| - return PP_FALSE;
|
| + return PluginResource::GetAs<PluginBuffer>(resource).get()
|
| + ? PP_TRUE : PP_FALSE;
|
| }
|
|
|
| PP_Bool Describe(PP_Resource resource, int32_t* size_in_bytes) {
|
|
|