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

Unified Diff: ppapi/proxy/ppp_input_event_proxy.cc

Issue 113263003: Pepper: More interface_list cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « ppapi/proxy/ppp_input_event_proxy.h ('k') | ppapi/proxy/ppp_instance_private_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_input_event_proxy.cc
diff --git a/ppapi/proxy/ppp_input_event_proxy.cc b/ppapi/proxy/ppp_input_event_proxy.cc
index 8302dfd12db8b9c6911819be6ba334ad4d3c982e..cbf6a63ad2af96069735b1517db93d20327b2055 100644
--- a/ppapi/proxy/ppp_input_event_proxy.cc
+++ b/ppapi/proxy/ppp_input_event_proxy.cc
@@ -54,10 +54,6 @@ static const PPP_InputEvent input_event_interface = {
static const PPP_InputEvent input_event_interface = {};
#endif // !defined(OS_NACL)
-InterfaceProxy* CreateInputEventProxy(Dispatcher* dispatcher) {
- return new PPP_InputEvent_Proxy(dispatcher);
-}
-
} // namespace
PPP_InputEvent_Proxy::PPP_InputEvent_Proxy(Dispatcher* dispatcher)
@@ -73,15 +69,8 @@ PPP_InputEvent_Proxy::~PPP_InputEvent_Proxy() {
}
// static
-const InterfaceProxy::Info* PPP_InputEvent_Proxy::GetInfo() {
- static const Info info = {
- &input_event_interface,
- PPP_INPUT_EVENT_INTERFACE,
- API_ID_PPP_INPUT_EVENT,
- false,
- &CreateInputEventProxy,
- };
- return &info;
+const PPP_InputEvent* PPP_InputEvent_Proxy::GetProxyInterface() {
+ return &input_event_interface;
}
bool PPP_InputEvent_Proxy::OnMessageReceived(const IPC::Message& msg) {
« no previous file with comments | « ppapi/proxy/ppp_input_event_proxy.h ('k') | ppapi/proxy/ppp_instance_private_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698