Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index 82197ab657a5c45b5e1a96dea403ab5bf78324c5..98ca698ed56415c5ab34ced2dbebc7737345efd6 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -1386,7 +1386,17 @@ void PepperPluginInstanceImpl::PostMessageToJavaScript(PP_Var message) { |
int32_t PepperPluginInstanceImpl::RegisterMessageHandler( |
PP_Instance instance, |
void* user_data, |
- const PPP_MessageHandler_0_1* handler, |
+ const PPP_MessageHandler_0_2* handler, |
+ PP_Resource message_loop) { |
+ // Not supported in-process. |
+ NOTIMPLEMENTED(); |
+ return PP_ERROR_FAILED; |
+} |
+ |
+int32_t PepperPluginInstanceImpl::RegisterMessageHandler_1_1_Deprecated( |
+ PP_Instance instance, |
+ void* user_data, |
+ const PPP_MessageHandler_0_1_Deprecated* handler, |
PP_Resource message_loop) { |
// Not supported in-process. |
NOTIMPLEMENTED(); |