diff options
author | 2017-06-08 14:57:11 -0700 | |
---|---|---|
committer | 2017-06-08 15:29:29 -0700 | |
commit | 274bbbe6a0bd56651d48d974e1ccd80cf68689df (patch) | |
tree | 240da3d682eea3d09fdb79c21157462c7fe37a74 /src/core/ext/filters/workarounds | |
parent | 1621f5e05152a9d0b7c7ca6341d45fd44cf56701 (diff) |
Add rich closure debug mode
Diffstat (limited to 'src/core/ext/filters/workarounds')
-rw-r--r-- | src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c b/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c index 9095d6167c..8b3fff5fa3 100644 --- a/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c +++ b/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c @@ -67,7 +67,7 @@ static void recv_initial_metadata_ready(grpc_exec_ctx* exec_ctx, } // Invoke the next callback. - grpc_closure_run(exec_ctx, calld->next_recv_initial_metadata_ready, + GRPC_CLOSURE_RUN(exec_ctx, calld->next_recv_initial_metadata_ready, GRPC_ERROR_REF(error)); } @@ -106,7 +106,7 @@ static grpc_error* init_call_elem(grpc_exec_ctx* exec_ctx, call_data* calld = elem->call_data; calld->next_recv_initial_metadata_ready = NULL; calld->workaround_active = false; - grpc_closure_init(&calld->recv_initial_metadata_ready, + GRPC_CLOSURE_INIT(&calld->recv_initial_metadata_ready, recv_initial_metadata_ready, elem, grpc_schedule_on_exec_ctx); return GRPC_ERROR_NONE; |