summaryrefslogtreecommitdiff
path: root/libs/androidfw/tests/Theme_bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/androidfw/tests/Theme_bench.cpp')
-rw-r--r--libs/androidfw/tests/Theme_bench.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/androidfw/tests/Theme_bench.cpp b/libs/androidfw/tests/Theme_bench.cpp
index 594c39eb682f..f3d60bbe4f15 100644
--- a/libs/androidfw/tests/Theme_bench.cpp
+++ b/libs/androidfw/tests/Theme_bench.cpp
@@ -70,11 +70,8 @@ static void BM_ThemeGetAttribute(benchmark::State& state) {
auto theme = assets.NewTheme();
theme->ApplyStyle(kStyleId, false /* force */);
- Res_value value;
- uint32_t flags;
-
while (state.KeepRunning()) {
- theme->GetAttribute(kAttrId, &value, &flags);
+ theme->GetAttribute(kAttrId);
}
}
BENCHMARK(BM_ThemeGetAttribute);