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

Unified Diff: ash/system/audio/tray_volume.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 | « no previous file | ash/system/audio/tray_volume.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/audio/tray_volume.h
diff --git a/ash/system/audio/tray_volume.h b/ash/system/audio/tray_volume.h
index 83bf27cbb89df3c7ea8ee2608778aa16af44516d..f1659241c4249869fb4a90c5a397173e440ddb54 100644
--- a/ash/system/audio/tray_volume.h
+++ b/ash/system/audio/tray_volume.h
@@ -8,7 +8,6 @@
#include "ash/system/audio/audio_observer.h"
#include "ash/system/tray/tray_image_item.h"
-#include "base/memory/scoped_ptr.h"
namespace ash {
namespace internal {
@@ -36,7 +35,7 @@ class TrayVolume : public TrayImageItem,
// Overridden from AudioObserver.
virtual void OnVolumeChanged(float percent) OVERRIDE;
- scoped_ptr<tray::VolumeView> volume_view_;
+ tray::VolumeView* volume_view_;
// Was |volume_view_| created for CreateDefaultView() rather than
// CreateDetailedView()? Used to avoid resetting |volume_view_|
« no previous file with comments | « no previous file | ash/system/audio/tray_volume.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698