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

Unified Diff: ash/system/network/network_list.cc

Issue 2863783002: Reset HoverHighlightView state before re-populating (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/system/network/vpn_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/network/network_list.cc
diff --git a/ash/system/network/network_list.cc b/ash/system/network/network_list.cc
index 179914cf14f562c6637bb37abd26df3b2be7218f..e234bf1fbee5a2510503b6cbc5b3ca0b99fa2e92 100644
--- a/ash/system/network/network_list.cc
+++ b/ash/system/network/network_list.cc
@@ -696,7 +696,7 @@ void NetworkListView::UpdateNetworkChild(int index, const NetworkInfo* info) {
} else {
network_view = found->second;
if (NeedUpdateViewForNetwork(*info)) {
- network_view->RemoveAllChildViews(true);
+ network_view->Reset();
UpdateViewForNetwork(network_view, *info);
network_view->Layout();
network_view->SchedulePaint();
« no previous file with comments | « no previous file | ash/system/network/vpn_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698