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

Unified Diff: ash/system/chromeos/network/tray_network.cc

Issue 854183002: ash: Cleanup - remove unused private fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/chromeos/network/tray_network.cc
diff --git a/ash/system/chromeos/network/tray_network.cc b/ash/system/chromeos/network/tray_network.cc
index b00e220cfb74d2c2142592608b5021ce24a577c9..f2e0787b081f3927a214661f9cd415e7d01e4419 100644
--- a/ash/system/chromeos/network/tray_network.cc
+++ b/ash/system/chromeos/network/tray_network.cc
@@ -47,7 +47,7 @@ class NetworkTrayView : public TrayItemView,
public ui::network_icon::AnimationObserver {
public:
explicit NetworkTrayView(TrayNetwork* network_tray)
- : TrayItemView(network_tray), network_tray_(network_tray) {
+ : TrayItemView(network_tray) {
SetLayoutManager(
new views::BoxLayout(views::BoxLayout::kHorizontal, 0, 0, 0));
@@ -128,7 +128,6 @@ class NetworkTrayView : public TrayItemView,
SchedulePaint();
}
- TrayNetwork* network_tray_;
views::ImageView* image_view_;
base::string16 connection_status_string_;
@@ -139,7 +138,7 @@ class NetworkDefaultView : public TrayItemMore,
public ui::network_icon::AnimationObserver {
public:
NetworkDefaultView(TrayNetwork* network_tray, bool show_more)
- : TrayItemMore(network_tray, show_more), network_tray_(network_tray) {
+ : TrayItemMore(network_tray, show_more) {
Update();
}
@@ -167,8 +166,6 @@ class NetworkDefaultView : public TrayItemMore,
void NetworkIconChanged() override { Update(); }
private:
- TrayNetwork* network_tray_;
-
DISALLOW_COPY_AND_ASSIGN(NetworkDefaultView);
};
« no previous file with comments | « ash/system/chromeos/audio/tray_audio_chromeos.cc ('k') | ash/system/locale/locale_notification_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698