| Index: content/renderer/pepper/renderer_ppapi_host_impl.cc
|
| diff --git a/content/renderer/pepper/renderer_ppapi_host_impl.cc b/content/renderer/pepper/renderer_ppapi_host_impl.cc
|
| index 0dde8e2638088938589bfe15cc62f51adee725c1..f3bbb9bbef991ade49d866377cbc7957b5b803aa 100644
|
| --- a/content/renderer/pepper/renderer_ppapi_host_impl.cc
|
| +++ b/content/renderer/pepper/renderer_ppapi_host_impl.cc
|
| @@ -120,6 +120,14 @@ bool RendererPpapiHostImpl::IsValidInstance(
|
| return !!GetAndValidateInstance(instance);
|
| }
|
|
|
| +WebKit::WebPluginContainer* RendererPpapiHostImpl::GetContainerForInstance(
|
| + PP_Instance instance) const {
|
| + PluginInstance* instance_object = GetAndValidateInstance(instance);
|
| + if (!instance_object)
|
| + return NULL;
|
| + return instance_object->container();
|
| +}
|
| +
|
| bool RendererPpapiHostImpl::HasUserGesture(PP_Instance instance) const {
|
| PluginInstance* instance_object = GetAndValidateInstance(instance);
|
| if (!instance_object)
|
|
|