diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-17 20:49:30 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-17 20:49:30 +0000 |
commit | 6642ebf554d93f8f0a76d576c8c9dcd588e14e24 (patch) | |
tree | 846419d5dc852eb1226d038d2e1a384e536d6daa /ppapi/proxy/ppp_mouse_lock_proxy.cc | |
parent | a77810cf0a3d717670b605e19ecd6885dcfe1e98 (diff) | |
download | chromium_src-6642ebf554d93f8f0a76d576c8c9dcd588e14e24.zip chromium_src-6642ebf554d93f8f0a76d576c8c9dcd588e14e24.tar.gz chromium_src-6642ebf554d93f8f0a76d576c8c9dcd588e14e24.tar.bz2 |
Pepper: More interface_list cleanup.
This change removes a deprecated AddPPP() interface, and a new unnecessary
InterfaceProxy::Info struct.
BUG=
R=dmichael@chromium.org
Review URL: https://codereview.chromium.org/113263003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppp_mouse_lock_proxy.cc')
-rw-r--r-- | ppapi/proxy/ppp_mouse_lock_proxy.cc | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/ppapi/proxy/ppp_mouse_lock_proxy.cc b/ppapi/proxy/ppp_mouse_lock_proxy.cc index 6fd746d..66dc130 100644 --- a/ppapi/proxy/ppp_mouse_lock_proxy.cc +++ b/ppapi/proxy/ppp_mouse_lock_proxy.cc @@ -35,10 +35,6 @@ static const PPP_MouseLock mouse_lock_interface = { static const PPP_MouseLock mouse_lock_interface = {}; #endif // !defined(OS_NACL) -InterfaceProxy* CreateMouseLockProxy(Dispatcher* dispatcher) { - return new PPP_MouseLock_Proxy(dispatcher); -} - } // namespace PPP_MouseLock_Proxy::PPP_MouseLock_Proxy(Dispatcher* dispatcher) @@ -54,15 +50,8 @@ PPP_MouseLock_Proxy::~PPP_MouseLock_Proxy() { } // static -const InterfaceProxy::Info* PPP_MouseLock_Proxy::GetInfo() { - static const Info info = { - &mouse_lock_interface, - PPP_MOUSELOCK_INTERFACE, - API_ID_PPP_MOUSE_LOCK, - false, - &CreateMouseLockProxy, - }; - return &info; +const PPP_MouseLock* PPP_MouseLock_Proxy::GetProxyInterface() { + return &mouse_lock_interface; } bool PPP_MouseLock_Proxy::OnMessageReceived(const IPC::Message& msg) { |