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

Unified Diff: ppapi/proxy/ppp_graphics_3d_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_graphics_3d_proxy.h ('k') | ppapi/proxy/ppp_input_event_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_graphics_3d_proxy.cc
diff --git a/ppapi/proxy/ppp_graphics_3d_proxy.cc b/ppapi/proxy/ppp_graphics_3d_proxy.cc
index ee00a925ed0eee6cf07079750a7675fceb61bc3d..b5f0ac1df85af698f52fe23b62dc6d394c470506 100644
--- a/ppapi/proxy/ppp_graphics_3d_proxy.cc
+++ b/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) {
« no previous file with comments | « ppapi/proxy/ppp_graphics_3d_proxy.h ('k') | ppapi/proxy/ppp_input_event_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698