diff --git a/ios/GLCanvas.m b/ios/GLCanvas.m index de0fe5785b88bd9257b1feed70ae529e7d58d7a5..2af658374e0cf3b3dce6aa56f9103ba81f2e21d3 100644 --- a/ios/GLCanvas.m +++ b/ios/GLCanvas.m @@ -331,9 +331,9 @@ RCT_NOT_IMPLEMENTED(-init) }); } else { - RCTProfileBeginEvent(0, @"GLCanvas render", nil); + RCT_PROFILE_BEGIN_EVENT(0, @"GLCanvas render", nil); [self render]; - RCTProfileEndEvent(0, @"gl", nil); + RCT_PROFILE_END_EVENT(0, @"gl", nil); _deferredRendering = false; if (_captureFrameRequested) {