diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 05:13:17 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 05:13:17 +0000 |
commit | 4f2006122fa1a0bb91c3d0451ca123061cfee271 (patch) | |
tree | 4939d74c4032d7e188fc41692a9404c647a9ea1a /ppapi/thunk/ppb_tcp_server_socket_private_thunk.cc | |
parent | f3f8f3488944ae47bf705a8986b6b73431a19b7d (diff) | |
download | chromium_src-4f2006122fa1a0bb91c3d0451ca123061cfee271.zip chromium_src-4f2006122fa1a0bb91c3d0451ca123061cfee271.tar.gz chromium_src-4f2006122fa1a0bb91c3d0451ca123061cfee271.tar.bz2 |
Delete FunctionGroupBase from Pepper.
The FunctionGroupBase stuff was intended to used for our manual RTTI for
interfaces not associated with resources. However, we've been putting most
of those interfaces on the PPB_Instance_API which allows us to skip a
whole lot of routing, setup, and boilerplate code.
This patch moves the two remaining classes deriving from FunctionGroupBase
and moves them to special getters on the globals class. We'll keep these
classes around and since there are only two, it seems to warrant the special
case.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10168026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_tcp_server_socket_private_thunk.cc')
-rw-r--r-- | ppapi/thunk/ppb_tcp_server_socket_private_thunk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/thunk/ppb_tcp_server_socket_private_thunk.cc b/ppapi/thunk/ppb_tcp_server_socket_private_thunk.cc index c4b6bd8..fcff45e 100644 --- a/ppapi/thunk/ppb_tcp_server_socket_private_thunk.cc +++ b/ppapi/thunk/ppb_tcp_server_socket_private_thunk.cc @@ -17,7 +17,7 @@ namespace { typedef EnterResource<PPB_TCPServerSocket_Private_API> EnterTCPServer; PP_Resource Create(PP_Instance instance) { - EnterFunction<ResourceCreationAPI> enter(instance, true); + EnterResourceCreation enter(instance); if (enter.failed()) return 0; return enter.functions()->CreateTCPServerSocketPrivate(instance); |