From dd468c926877ca4672c80380296f5c460a4e5cb2 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Fri, 1 Nov 2019 15:19:56 -0700 Subject: [PATCH] iOS changes --- src/core/lib/iomgr/endpoint_cfstream.cc | 4 ++-- src/core/lib/iomgr/tcp_client_cfstream.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/lib/iomgr/endpoint_cfstream.cc b/src/core/lib/iomgr/endpoint_cfstream.cc index 180a61b841e..987f2d270b6 100644 --- a/src/core/lib/iomgr/endpoint_cfstream.cc +++ b/src/core/lib/iomgr/endpoint_cfstream.cc @@ -132,7 +132,7 @@ static void CallReadCb(CFStreamEndpoint* ep, grpc_error* error) { grpc_closure* cb = ep->read_cb; ep->read_cb = nullptr; ep->read_slices = nullptr; - ExecCtx::Run(DEBUG_LOCATION, cb, error); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, cb, error); } static void CallWriteCb(CFStreamEndpoint* ep, grpc_error* error) { @@ -145,7 +145,7 @@ static void CallWriteCb(CFStreamEndpoint* ep, grpc_error* error) { grpc_closure* cb = ep->write_cb; ep->write_cb = nullptr; ep->write_slices = nullptr; - ExecCtx::Run(DEBUG_LOCATION, cb, error); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, cb, error); } static void ReadAction(void* arg, grpc_error* error) { diff --git a/src/core/lib/iomgr/tcp_client_cfstream.cc b/src/core/lib/iomgr/tcp_client_cfstream.cc index a4596246e6a..23d8c0c0089 100644 --- a/src/core/lib/iomgr/tcp_client_cfstream.cc +++ b/src/core/lib/iomgr/tcp_client_cfstream.cc @@ -96,7 +96,7 @@ static void OnAlarm(void* arg, grpc_error* error) { } else { grpc_error* error = GRPC_ERROR_CREATE_FROM_STATIC_STRING("connect() timed out"); - ExecCtx::Run(DEBUG_LOCATION, closure, error); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure, error); } } @@ -137,7 +137,7 @@ static void OnOpen(void* arg, grpc_error* error) { GRPC_ERROR_REF(error); } gpr_mu_unlock(&connect->mu); - ExecCtx::Run(DEBUG_LOCATION, closure, error); + grpc_core::ExecCtx::Run(DEBUG_LOCATION, closure, error); } }