Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Issue 2865533002: Reset HoverHighlightView state before re-populating (Closed)

Created:
3 years, 7 months ago by mohsen
Modified:
3 years, 7 months ago
Reviewers:
tdanderson
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -19 lines) Patch
M ash/system/network/network_list.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/network/vpn_list_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/hover_highlight_view.h View 3 chunks +25 lines, -17 lines 0 comments Download
M ash/system/tray/hover_highlight_view.cc View 7 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
mohsen
Please take a look...
3 years, 7 months ago (2017-05-04 20:55:03 UTC) #4
tdanderson
LGTM
3 years, 7 months ago (2017-05-04 21:25:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2865533002/1
3 years, 7 months ago (2017-05-04 21:39:41 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 21:45:25 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e5f363be8e46b5e650988d739339...

Powered by Google App Engine
This is Rietveld 408576698