summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}