-
Grzegorz Gacek authored
Fix use-after-free which occured when a menu contained an item closing it on a mouse press event. In such case MenuController object was freed during a call of its OnMousePressed() but it continued to modify its member variables. Bug: 871205 Change-Id: Ic2a5dd3a745da6b0c1ef7a87f2cb498cc1a97234 Reviewed-on: https://chromium-review.googlesource.com/1163617Reviewed-by:
Trent Apted <tapted@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#584706}
02f393b9