| Index: ppapi/thunk/ppb_broker_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_broker_thunk.cc b/ppapi/thunk/ppb_broker_thunk.cc
|
| index 0f2f1c9ebd06f72ae382a3dae2f1b95d1d7d7cce..727f403b03c12170d5f15d1d1c74b4e2c556525e 100644
|
| --- a/ppapi/thunk/ppb_broker_thunk.cc
|
| +++ b/ppapi/thunk/ppb_broker_thunk.cc
|
| @@ -27,8 +27,7 @@ PP_Bool IsBrokerTrusted(PP_Resource resource) {
|
| return PP_FromBool(enter.succeeded());
|
| }
|
|
|
| -int32_t Connect(PP_Resource resource,
|
| - PP_CompletionCallback callback) {
|
| +int32_t Connect(PP_Resource resource, PP_CompletionCallback callback) {
|
| EnterResource<PPB_Broker_API> enter(resource, callback, true);
|
| if (enter.failed())
|
| return enter.retval();
|
| @@ -58,19 +57,10 @@ PP_Bool IsAllowed(PP_Resource resource) {
|
| }
|
|
|
| const PPB_BrokerTrusted_0_2 g_ppb_broker_0_2_thunk = {
|
| - &CreateTrusted,
|
| - &IsBrokerTrusted,
|
| - &Connect,
|
| - &GetHandle,
|
| -};
|
| + &CreateTrusted, &IsBrokerTrusted, &Connect, &GetHandle, };
|
|
|
| const PPB_BrokerTrusted_0_3 g_ppb_broker_0_3_thunk = {
|
| - &CreateTrusted,
|
| - &IsBrokerTrusted,
|
| - &Connect,
|
| - &GetHandle,
|
| - &IsAllowed,
|
| -};
|
| + &CreateTrusted, &IsBrokerTrusted, &Connect, &GetHandle, &IsAllowed, };
|
|
|
| } // namespace
|
|
|
|
|