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

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

Issue 2865533002: 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 623a22f2faa2c528c3ea44c584929fa5da0932c6..5eb9f18082d5fb4968d11c8cb13eeaea079ecb9c 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