summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/tests/unittests/SetFrameRateTest.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2021-03-11 22:15:04 -0800
committerRobert Carr <racarr@google.com>2021-04-12 21:04:06 -0700
commit0758e5d1bcf68751b3b847cc542be2ec27f9b816 (patch)
tree274441a6ed22905133ce361a090398deb7529fa8 /services/surfaceflinger/tests/unittests/SetFrameRateTest.cpp
parentb7f378a110e98d05d160e1ecd34386cacd3160e6 (diff)
SurfaceFlinger: Remove deferTransactionUntil
There are no users left Bug: 168505645 Change-Id: I81725bf3c0ef4704e9da25da9a75854b4f172885
Diffstat (limited to 'services/surfaceflinger/tests/unittests/SetFrameRateTest.cpp')
-rw-r--r--services/surfaceflinger/tests/unittests/SetFrameRateTest.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/services/surfaceflinger/tests/unittests/SetFrameRateTest.cpp b/services/surfaceflinger/tests/unittests/SetFrameRateTest.cpp
index 0bb7e31194..c088ddc971 100644
--- a/services/surfaceflinger/tests/unittests/SetFrameRateTest.cpp
+++ b/services/surfaceflinger/tests/unittests/SetFrameRateTest.cpp
@@ -153,11 +153,8 @@ void SetFrameRateTest::removeChild(sp<Layer> layer, sp<Layer> child) {
void SetFrameRateTest::commitTransaction() {
for (auto layer : mLayers) {
- layer->pushPendingState();
auto c = layer->getCurrentState();
- if (layer->applyPendingStates(&c)) {
- layer->commitTransaction(c);
- }
+ layer->commitTransaction(c);
}
}