Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc |
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc |
index 8f1ff5dac9064385a385f0036d89c6ab9a67b853..5168d1a090b02e300226ee950bf11f9371db20dd 100644 |
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc |
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc |
@@ -956,7 +956,7 @@ bool PluginInstance::LoadMessagingInterface() { |
checked_for_plugin_messaging_interface_ = true; |
plugin_messaging_interface_ = |
static_cast<const PPP_Messaging*>(module_->GetPluginInterface( |
- PPP_MESSAGING_INTERFACE_1_0)); |
+ PPP_MESSAGING_INTERFACE)); |
} |
return !!plugin_messaging_interface_; |
} |
@@ -974,8 +974,8 @@ bool PluginInstance::LoadMouseLockInterface() { |
bool PluginInstance::LoadPdfInterface() { |
if (!plugin_pdf_interface_) { |
plugin_pdf_interface_ = |
- static_cast<const PPP_Pdf*>(module_->GetPluginInterface( |
- PPP_PDF_INTERFACE)); |
+ static_cast<const PPP_Pdf_1*>(module_->GetPluginInterface( |
+ PPP_PDF_INTERFACE_1)); |
} |
return !!plugin_pdf_interface_; |