DescriptionReset HoverHighlightView state before re-populating
When a HoverHighlightView needs to be repopulated, other than removing
its children, the pointers it has to its children should be nulled out,
too. Otherwise, it would try to reuse them causing crashes. This CL adds
a Reset() function to HoverHighlightView that properly resets the state
of HoverHighlightView before re-populating it.
BUG=718411
TEST=none
Review-Url: https://codereview.chromium.org/2865533002
Cr-Commit-Position: refs/heads/master@{#469480}
Committed: https://chromium.googlesource.com/chromium/src/+/e5f363be8e46b5e650988d7393390940bd25ff67
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|