summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/FrameTracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/FrameTracker.h')
-rw-r--r--services/surfaceflinger/FrameTracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/FrameTracker.h b/services/surfaceflinger/FrameTracker.h
index 35382be1c0..bc412aee2f 100644
--- a/services/surfaceflinger/FrameTracker.h
+++ b/services/surfaceflinger/FrameTracker.h
@@ -66,7 +66,7 @@ public:
// setActualPresentFence sets the fence that is used to get the time
// at which the current frame became visible to the user.
- void setActualPresentFence(std::shared_ptr<FenceTime>&& fence);
+ void setActualPresentFence(const std::shared_ptr<FenceTime>& fence);
// setDisplayRefreshPeriod sets the display refresh period in nanoseconds.
// This is used to compute frame presentation duration statistics relative