Index: net/socket_stream/socket_stream_job.cc |
diff --git a/net/socket_stream/socket_stream_job.cc b/net/socket_stream/socket_stream_job.cc |
index 8d1da736ddb6d7bacfd501d7a22c792fae64dded..66362339cb00c834374386d138707d1bf5e27aef 100644 |
--- a/net/socket_stream/socket_stream_job.cc |
+++ b/net/socket_stream/socket_stream_job.cc |
@@ -9,20 +9,17 @@ |
namespace net { |
-static SocketStreamJobManager* GetJobManager() { |
- return Singleton<SocketStreamJobManager>::get(); |
-} |
- |
// static |
SocketStreamJob::ProtocolFactory* SocketStreamJob::RegisterProtocolFactory( |
const std::string& scheme, ProtocolFactory* factory) { |
- return GetJobManager()->RegisterProtocolFactory(scheme, factory); |
+ return SocketStreamJobManager::GetInstance()->RegisterProtocolFactory( |
+ scheme, factory); |
} |
// static |
SocketStreamJob* SocketStreamJob::CreateSocketStreamJob( |
const GURL& url, SocketStream::Delegate* delegate) { |
- return GetJobManager()->CreateJob(url, delegate); |
+ return SocketStreamJobManager::GetInstance()->CreateJob(url, delegate); |
} |
SocketStreamJob::SocketStreamJob() {} |