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 6ed2ea83eaa8b3a9f05cb0a295fb7a2379663a39..c7df634b9fb901a848810d470f22cec2aad8721f 100644 |
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc |
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc |
@@ -700,7 +700,13 @@ bool PluginInstance::LoadMessagingInterface() { |
checked_for_plugin_messaging_interface_ = true; |
plugin_messaging_interface_ = |
static_cast<const PPP_Messaging*>(module_->GetPluginInterface( |
- PPP_MESSAGING_INTERFACE)); |
+ PPP_MESSAGING_INTERFACE_1_0)); |
+ // TODO(dmichael): Remove support for 0.1. |
+ if (!plugin_messaging_interface_) { |
+ plugin_messaging_interface_ = |
+ static_cast<const PPP_Messaging*>(module_->GetPluginInterface( |
+ PPP_MESSAGING_INTERFACE_0_1)); |
+ } |
} |
return !!plugin_messaging_interface_; |