commit | 5c481666c9678f43e039ad605457be3854cf8de3 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Thu Oct 09 12:30:10 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Oct 09 12:30:10 2014 -0700 |
tree | 9336f9c76012a80594353871865e38e5f4367048 | |
parent | 27415b71bd529456165945e19b5b7efbebf6fb51 [diff] |
Fix bug in plot locking system In the new MultiPictureDraw tests a single hoisted layer is reused multiple times. The previous plot locking scheme allowed GrCachedLayer objects to be aggressively deleted prematurely leaving the reusing GrHoistedLayer objects with dangling pointers. This CL changes the plot locking system to add a pseudo-ref for each GrHoistedLayer. NOTRY=true Review URL: https://codereview.chromium.org/640323002