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

Unified Diff: chrome/browser/chromeos/volume_bubble.h

Issue 5711001: Add a new GetInstance() method for remaining files with singleton classes under chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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: chrome/browser/chromeos/volume_bubble.h
diff --git a/chrome/browser/chromeos/volume_bubble.h b/chrome/browser/chromeos/volume_bubble.h
index 9d0ee57abf9d70536263927c3637a4c754ab3f8d..baff67e4c437bebd0e16f781e7eab23b40f4624c 100644
--- a/chrome/browser/chromeos/volume_bubble.h
+++ b/chrome/browser/chromeos/volume_bubble.h
@@ -14,9 +14,7 @@ namespace chromeos {
// Singleton class controlling volume bubble.
class VolumeBubble : public SettingLevelBubble {
public:
- static VolumeBubble* instance() {
- return Singleton<VolumeBubble>::get();
- }
joth 2010/12/09 15:06:40 this style is going to be very hard to stop creepi
+ static VolumeBubble* instance();
private:
friend struct DefaultSingletonTraits<VolumeBubble>;

Powered by Google App Engine
This is Rietveld 408576698