summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppapi_plugin_instance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/ppapi_plugin_instance.cc')
-rw-r--r--webkit/plugins/ppapi/ppapi_plugin_instance.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index 8f1ff5d..63536bc 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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_;