diff --git a/native/android/surface_control.cpp b/native/android/surface_control.cpp index 9e4d726715027..21d4d8023e54e 100644 --- a/native/android/surface_control.cpp +++ b/native/android/surface_control.cpp @@ -311,7 +311,7 @@ void ASurfaceTransaction_setOnComplete(ASurfaceTransaction* aSurfaceTransaction, auto& aSurfaceControlStats = aSurfaceTransactionStats.aSurfaceControlStats; for (const auto& [surfaceControl, latchTime, acquireTimeOrFence, presentFence, - previousReleaseFence, transformHint, frameEvents] : surfaceControlStats) { + previousReleaseFence, transformHint, frameEvents, ignore] : surfaceControlStats) { ASurfaceControl* aSurfaceControl = reinterpret_cast(surfaceControl.get()); aSurfaceControlStats[aSurfaceControl].acquireTimeOrFence = acquireTimeOrFence; aSurfaceControlStats[aSurfaceControl].previousReleaseFence = previousReleaseFence; @@ -671,7 +671,7 @@ void ASurfaceTransaction_setOnCommit(ASurfaceTransaction* aSurfaceTransaction, v auto& aSurfaceControlStats = aSurfaceTransactionStats.aSurfaceControlStats; for (const auto& [surfaceControl, latchTime, acquireTimeOrFence, presentFence, - previousReleaseFence, transformHint, frameEvents] : + previousReleaseFence, transformHint, frameEvents, ignore] : surfaceControlStats) { ASurfaceControl* aSurfaceControl = reinterpret_cast(surfaceControl.get());