| Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| index a7760205d0bcebc52f292497a38a6ccadb491b67..ccabb3200f3d09f9d95bb5eb899351b8679fbdf7 100644
|
| --- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| @@ -802,6 +802,15 @@ PepperPluginDelegateImpl::CreateImage2D(int width, int height) {
|
| return PepperPlatformImage2DImpl::Create(width, height);
|
| }
|
|
|
| +webkit::ppapi::PluginDelegate::PlatformGraphics2D*
|
| +PepperPluginDelegateImpl::GetGraphics2D(
|
| + webkit::ppapi::PluginInstance* instance,
|
| + PP_Resource resource) {
|
| + RendererPpapiHostImpl* host_impl = static_cast<RendererPpapiHostImpl*>(
|
| + instance->module()->GetEmbedderState());
|
| + return host_impl->GetPlatformGraphics2D(resource);
|
| +}
|
| +
|
| webkit::ppapi::PluginDelegate::PlatformContext3D*
|
| PepperPluginDelegateImpl::CreateContext3D() {
|
| #ifdef ENABLE_GPU
|
|
|