diff --git a/libs/hwui/tests/unit/main.cpp b/libs/hwui/tests/unit/main.cpp index 2e55236c91f12..409a12d376933 100644 --- a/libs/hwui/tests/unit/main.cpp +++ b/libs/hwui/tests/unit/main.cpp @@ -80,7 +80,7 @@ static void logUnreachable(initializer_list infolist) { // Now log the result if (merged.num_leaks) { cout << endl << "Leaked memory!" << endl; - if (!merged.leaks[0].num_backtrace_frames) { + if (!merged.leaks[0].backtrace.num_frames) { cout << "Re-run with 'setprop libc.debug.malloc.program hwui_unit_test'" << endl << "and 'setprop libc.debug.malloc.options backtrace=8'" << " to get backtraces" << endl;