diff --git a/native/android/choreographer.cpp b/native/android/choreographer.cpp index deee5b173c214..5f18e1a6c4516 100644 --- a/native/android/choreographer.cpp +++ b/native/android/choreographer.cpp @@ -67,7 +67,7 @@ size_t AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex( const AChoreographerFrameCallbackData* data) { return AChoreographerFrameCallbackData_routeGetPreferredFrameTimelineIndex(data); } -int64_t AChoreographerFrameCallbackData_getFrameTimelineVsyncId( +AVsyncId AChoreographerFrameCallbackData_getFrameTimelineVsyncId( const AChoreographerFrameCallbackData* data, size_t index) { return AChoreographerFrameCallbackData_routeGetFrameTimelineVsyncId(data, index); } diff --git a/native/android/surface_control.cpp b/native/android/surface_control.cpp index 5b19102334d91..d01a30e527491 100644 --- a/native/android/surface_control.cpp +++ b/native/android/surface_control.cpp @@ -661,7 +661,7 @@ void ASurfaceTransaction_setOnCommit(ASurfaceTransaction* aSurfaceTransaction, v } void ASurfaceTransaction_setFrameTimeline(ASurfaceTransaction* aSurfaceTransaction, - int64_t vsyncId) { + AVsyncId vsyncId) { CHECK_NOT_NULL(aSurfaceTransaction); // TODO(b/210043506): Get start time from platform. ASurfaceTransaction_to_Transaction(aSurfaceTransaction)