summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2023-09-25 20:45:10 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-09-25 20:45:10 +0000
commitded71e687656d560a3c80b8d959d2f6c7aaaafd8 (patch)
treee95dc00d9c070570c5fe1903a01f439e3302ab19
parentb360539ad268252394e1efecb504ecae1b4e96d2 (diff)
parentf168dcdd7379363b80afa699b0f407a5e38506ff (diff)
downloadnative-ded71e687656d560a3c80b8d959d2f6c7aaaafd8.tar.gz
Merge "[RESTRICT AUTOMERGE] SF: Call clear() instead of empty()" into main
-rw-r--r--services/surfaceflinger/tests/SurfaceInterceptor_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/tests/SurfaceInterceptor_test.cpp b/services/surfaceflinger/tests/SurfaceInterceptor_test.cpp
index 68cd45ee8d..7a98bc27a9 100644
--- a/services/surfaceflinger/tests/SurfaceInterceptor_test.cpp
+++ b/services/surfaceflinger/tests/SurfaceInterceptor_test.cpp
@@ -359,7 +359,7 @@ void SurfaceInterceptorTest::backgroundBlurRadiusUpdate(Transaction& t) {
}
void SurfaceInterceptorTest::blurRegionsUpdate(Transaction& t) {
- BLUR_REGIONS_UPDATE.empty();
+ BLUR_REGIONS_UPDATE.clear();
BLUR_REGIONS_UPDATE.push_back(BlurRegion());
t.setBlurRegions(mBGSurfaceControl, BLUR_REGIONS_UPDATE);
}