Index: ppapi/proxy/ppp_video_decoder_proxy.cc |
diff --git a/ppapi/proxy/ppp_video_decoder_proxy.cc b/ppapi/proxy/ppp_video_decoder_proxy.cc |
index f1a672127911ec4177fbcd39320ac4390dc8a013..cb1569fd12e47b64355ff901678be12c8e357144 100644 |
--- a/ppapi/proxy/ppp_video_decoder_proxy.cc |
+++ b/ppapi/proxy/ppp_video_decoder_proxy.cc |
@@ -77,10 +77,6 @@ static const PPP_VideoDecoder_Dev video_decoder_interface = { |
&NotifyError |
}; |
-InterfaceProxy* CreateVideoDecoderPPPProxy(Dispatcher* dispatcher) { |
- return new PPP_VideoDecoder_Proxy(dispatcher); |
-} |
- |
} // namespace |
PPP_VideoDecoder_Proxy::PPP_VideoDecoder_Proxy(Dispatcher* dispatcher) |
@@ -96,15 +92,8 @@ PPP_VideoDecoder_Proxy::~PPP_VideoDecoder_Proxy() { |
} |
// static |
-const InterfaceProxy::Info* PPP_VideoDecoder_Proxy::GetInfo() { |
- static const Info info = { |
- &video_decoder_interface, |
- PPP_VIDEODECODER_DEV_INTERFACE, |
- API_ID_PPP_VIDEO_DECODER_DEV, |
- false, |
- &CreateVideoDecoderPPPProxy, |
- }; |
- return &info; |
+const PPP_VideoDecoder_Dev* PPP_VideoDecoder_Proxy::GetProxyInterface() { |
+ return &video_decoder_interface; |
} |
bool PPP_VideoDecoder_Proxy::OnMessageReceived(const IPC::Message& msg) { |