summaryrefslogtreecommitdiffstats
path: root/chromium/ppapi/proxy/ppp_instance_private_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ppapi/proxy/ppp_instance_private_proxy.cc')
-rw-r--r--chromium/ppapi/proxy/ppp_instance_private_proxy.cc15
1 files changed, 2 insertions, 13 deletions
diff --git a/chromium/ppapi/proxy/ppp_instance_private_proxy.cc b/chromium/ppapi/proxy/ppp_instance_private_proxy.cc
index 1d8b8d753ca..8df9c4f28f1 100644
--- a/chromium/ppapi/proxy/ppp_instance_private_proxy.cc
+++ b/chromium/ppapi/proxy/ppp_instance_private_proxy.cc
@@ -34,10 +34,6 @@ static const PPP_Instance_Private instance_private_interface = {
&GetInstanceObject
};
-InterfaceProxy* CreateInstancePrivateProxy(Dispatcher* dispatcher) {
- return new PPP_Instance_Private_Proxy(dispatcher);
-}
-
} // namespace
PPP_Instance_Private_Proxy::PPP_Instance_Private_Proxy(Dispatcher* dispatcher)
@@ -53,15 +49,8 @@ PPP_Instance_Private_Proxy::~PPP_Instance_Private_Proxy() {
}
// static
-const InterfaceProxy::Info* PPP_Instance_Private_Proxy::GetInfo() {
- static const Info info = {
- &instance_private_interface,
- PPP_INSTANCE_PRIVATE_INTERFACE,
- API_ID_PPP_INSTANCE_PRIVATE,
- false,
- &CreateInstancePrivateProxy,
- };
- return &info;
+const PPP_Instance_Private* PPP_Instance_Private_Proxy::GetProxyInterface() {
+ return &instance_private_interface;
}
bool PPP_Instance_Private_Proxy::OnMessageReceived(const IPC::Message& msg) {