| Index: content/renderer/pepper/pepper_audio_input_host.cc
|
| ===================================================================
|
| --- content/renderer/pepper/pepper_audio_input_host.cc (revision 213350)
|
| +++ content/renderer/pepper/pepper_audio_input_host.cc (working copy)
|
| @@ -17,7 +17,7 @@
|
| #include "third_party/WebKit/public/web/WebDocument.h"
|
| #include "third_party/WebKit/public/web/WebElement.h"
|
| #include "third_party/WebKit/public/web/WebPluginContainer.h"
|
| -#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
|
| +#include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h"
|
|
|
| namespace content {
|
|
|
| @@ -84,8 +84,9 @@
|
| }
|
|
|
| webkit::ppapi::PluginDelegate* PepperAudioInputHost::GetPluginDelegate() {
|
| - webkit::ppapi::PluginInstance* instance =
|
| - renderer_ppapi_host_->GetPluginInstance(pp_instance());
|
| + webkit::ppapi::PluginInstanceImpl* instance =
|
| + static_cast<webkit::ppapi::PluginInstanceImpl*>(
|
| + renderer_ppapi_host_->GetPluginInstance(pp_instance()));
|
| if (instance)
|
| return instance->delegate();
|
| return NULL;
|
| @@ -105,8 +106,9 @@
|
| if (!plugin_delegate)
|
| return PP_ERROR_FAILED;
|
|
|
| - webkit::ppapi::PluginInstance* instance =
|
| - renderer_ppapi_host_->GetPluginInstance(pp_instance());
|
| + webkit::ppapi::PluginInstanceImpl* instance =
|
| + static_cast<webkit::ppapi::PluginInstanceImpl*>(
|
| + renderer_ppapi_host_->GetPluginInstance(pp_instance()));
|
| if (!instance)
|
| return PP_ERROR_FAILED;
|
|
|
|
|