Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1499)

Unified Diff: content/ppapi_plugin/ppapi_thread.cc

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/ppapi_proxy.gypi » ('j') | ppapi/ppapi_proxy.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_thread.cc
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
index 45983ba789ef2e3bd4948137fabd365c6b7a161c..02b1a43e3893a00a98d9ce51bb6e54380b96e88f 100644
--- a/content/ppapi_plugin/ppapi_thread.cc
+++ b/content/ppapi_plugin/ppapi_thread.cc
@@ -22,6 +22,7 @@
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppp.h"
#include "ppapi/proxy/ppapi_messages.h"
+#include "ppapi/proxy/interface_list.h"
#include "webkit/plugins/ppapi/webkit_forwarding_impl.h"
#if defined(OS_WIN)
@@ -209,7 +210,7 @@ void PpapiThread::OnMsgLoadPlugin(const FilePath& path) {
}
int32_t init_error = init_module(
local_pp_module_,
- &ppapi::proxy::PluginDispatcher::GetInterfaceFromDispatcher);
+ &ppapi::proxy::PluginDispatcher::GetBrowserInterface);
if (init_error != PP_OK) {
LOG(WARNING) << "InitModule failed with error " << init_error;
return;
« no previous file with comments | « no previous file | ppapi/ppapi_proxy.gypi » ('j') | ppapi/ppapi_proxy.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698