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

Unified Diff: chrome/gpu/gpu_video_service.h

Issue 5581008: Add a new GetInstance() method for singleton classes, take 2. (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/gpu/gpu_video_service.h
diff --git a/chrome/gpu/gpu_video_service.h b/chrome/gpu/gpu_video_service.h
index e6af4444369429986a19af4c3c2e59e0808dc96b..b9ad6da531bcdb6cf23492fd2fd00845eeed4bfc 100644
--- a/chrome/gpu/gpu_video_service.h
+++ b/chrome/gpu/gpu_video_service.h
@@ -14,9 +14,10 @@
class GpuChannel;
-class GpuVideoService : public IPC::Channel::Listener,
- public Singleton<GpuVideoService> {
+class GpuVideoService : public IPC::Channel::Listener {
public:
+ static GpuVideoService* GetInstance();
+
// IPC::Channel::Listener.
virtual void OnChannelConnected(int32 peer_pid);
virtual void OnChannelError();

Powered by Google App Engine
This is Rietveld 408576698