summaryrefslogtreecommitdiffstats
path: root/chromium/ppapi/proxy/ppp_graphics_3d_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ppapi/proxy/ppp_graphics_3d_proxy.cc')
-rw-r--r--chromium/ppapi/proxy/ppp_graphics_3d_proxy.cc15
1 files changed, 2 insertions, 13 deletions
diff --git a/chromium/ppapi/proxy/ppp_graphics_3d_proxy.cc b/chromium/ppapi/proxy/ppp_graphics_3d_proxy.cc
index ee00a925ed0..b5f0ac1df85 100644
--- a/chromium/ppapi/proxy/ppp_graphics_3d_proxy.cc
+++ b/chromium/ppapi/proxy/ppp_graphics_3d_proxy.cc
@@ -29,10 +29,6 @@ static const PPP_Graphics3D graphics_3d_interface = {
static const PPP_Graphics3D graphics_3d_interface = {};
#endif // !defined(OS_NACL)
-InterfaceProxy* CreateGraphics3DProxy(Dispatcher* dispatcher) {
- return new PPP_Graphics3D_Proxy(dispatcher);
-}
-
} // namespace
PPP_Graphics3D_Proxy::PPP_Graphics3D_Proxy(Dispatcher* dispatcher)
@@ -48,15 +44,8 @@ PPP_Graphics3D_Proxy::~PPP_Graphics3D_Proxy() {
}
// static
-const InterfaceProxy::Info* PPP_Graphics3D_Proxy::GetInfo() {
- static const Info info = {
- &graphics_3d_interface,
- PPP_GRAPHICS_3D_INTERFACE,
- API_ID_PPP_GRAPHICS_3D,
- false,
- &CreateGraphics3DProxy,
- };
- return &info;
+const PPP_Graphics3D* PPP_Graphics3D_Proxy::GetProxyInterface() {
+ return &graphics_3d_interface;
}
bool PPP_Graphics3D_Proxy::OnMessageReceived(const IPC::Message& msg) {