diff options
| -rw-r--r-- | libs/hwui/tests/unit/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/tests/unit/main.cpp b/libs/hwui/tests/unit/main.cpp index 2e55236c91f1..409a12d37693 100644 --- a/libs/hwui/tests/unit/main.cpp +++ b/libs/hwui/tests/unit/main.cpp @@ -80,7 +80,7 @@ static void logUnreachable(initializer_list<UnreachableMemoryInfo> 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; |