summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
author Melody Hsu <melodymhsu@google.com> 2024-10-09 17:44:33 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-10-09 17:44:33 +0000
commit9a43d3f770963979af67239139c9ef63d9e2212c (patch)
tree7057fa7037f4fce466ddd1618edca02358263026 /services/surfaceflinger/Layer.cpp
parentcfc6759f73e9d28f91ed6a74c93038d03afc4fcc (diff)
parent16355787a070826ce9a5488a953d6b7e50edf22b (diff)
Merge "Track pendingBuffer count in RequestedLayerState" into main
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
-rw-r--r--services/surfaceflinger/Layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 92894847fa..c14769e61e 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -1342,7 +1342,7 @@ Rect Layer::computeBufferCrop(const State& s) {
}
void Layer::decrementPendingBufferCount() {
- int32_t pendingBuffers = --mPendingBufferTransactions;
+ int32_t pendingBuffers = --mPendingBuffers;
tracePendingBufferCount(pendingBuffers);
}