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

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

Issue 2957043002: Add a row in the network tray to inform users to turn Bluetooth on to enable Tether. (Closed)
Patch Set: added actions and slightly refactored the infolabel class Created 3 years, 6 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
Index: ash/system/network/network_list.cc
diff --git a/ash/system/network/network_list.cc b/ash/system/network/network_list.cc
index ea786f109ad55732256f3bb33693961bc7970e7e..87069d5228ed77adf4e39d9dae340eb06f2a4991 100644
--- a/ash/system/network/network_list.cc
+++ b/ash/system/network/network_list.cc
@@ -656,7 +656,7 @@ void NetworkListView::UpdateInfoLabel(int message_id,
if (!info_label)
info_label = new InfoLabel(message_id);
else
- info_label->SetMessage(message_id);
+ info_label->Update(message_id);
PlaceViewAtIndex(info_label, insertion_index);
*info_label_ptr = info_label;
}

Powered by Google App Engine
This is Rietveld 408576698