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

Unified Diff: ash/system/power/tray_power.h

Issue 10269017: Remove scoped_ptr for system tray views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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 | « ash/system/network/tray_network.cc ('k') | ash/system/power/tray_power.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/power/tray_power.h
diff --git a/ash/system/power/tray_power.h b/ash/system/power/tray_power.h
index 713370f59b9b19fde1f0d7f7827af97259a61d43..548f00597561e1c73ffb12b96b9d3b337a3fb232 100644
--- a/ash/system/power/tray_power.h
+++ b/ash/system/power/tray_power.h
@@ -37,9 +37,9 @@ class TrayPower : public SystemTrayItem,
// Overridden from PowerStatusObserver.
virtual void OnPowerStatusChanged(const PowerSupplyStatus& status) OVERRIDE;
- scoped_ptr<tray::DateView> date_;
- scoped_ptr<tray::PowerPopupView> power_;
- scoped_ptr<tray::PowerTrayView> power_tray_;
+ tray::DateView* date_;
+ tray::PowerPopupView* power_;
+ tray::PowerTrayView* power_tray_;
DISALLOW_COPY_AND_ASSIGN(TrayPower);
};
« no previous file with comments | « ash/system/network/tray_network.cc ('k') | ash/system/power/tray_power.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698