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 39401e8849e737bd56ea69648b51cd0e19de3492..b88a01cecfd591ec00a3db147178f66fc4430232 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
@@ -44,6 +44,7 @@ |
#include "content/renderer/pepper/pepper_broker_impl.h" |
#include "content/renderer/pepper/pepper_device_enumeration_event_handler.h" |
#include "content/renderer/pepper/pepper_hung_plugin_filter.h" |
+#include "content/renderer/pepper/pepper_in_process_resource_creation.h" |
#include "content/renderer/pepper/pepper_platform_audio_input_impl.h" |
#include "content/renderer/pepper/pepper_platform_audio_output_impl.h" |
#include "content/renderer/pepper/pepper_platform_context_3d_impl.h" |
@@ -597,6 +598,13 @@ void PepperPluginDelegateImpl::InstanceDeleted( |
PluginFocusChanged(instance, false); |
} |
+scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> |
+PepperPluginDelegateImpl::CreateResourceCreationAPI( |
+ webkit::ppapi::PluginInstance* instance) { |
+ return scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>( |
+ new PepperInProcessResourceCreation(render_view_, instance)); |
+} |
+ |
SkBitmap* PepperPluginDelegateImpl::GetSadPluginBitmap() { |
return GetContentClient()->renderer()->GetSadPluginBitmap(); |
} |