Index: net/websockets/websocket_job_unittest.cc |
diff --git a/net/websockets/websocket_job_unittest.cc b/net/websockets/websocket_job_unittest.cc |
index 53d4a62546fe523d5bb3f8c640636c59dde1f16e..43d8509706bcde44a8ea3421ba1f48039913b975 100644 |
--- a/net/websockets/websocket_job_unittest.cc |
+++ b/net/websockets/websocket_job_unittest.cc |
@@ -222,7 +222,7 @@ class WebSocketJobTest : public PlatformTest { |
addr.ai_addr = reinterpret_cast<sockaddr*>(&sa_in); |
addr.ai_next = NULL; |
websocket_->addresses_.Copy(&addr, true); |
- Singleton<WebSocketThrottle>::get()->PutInQueue(websocket_); |
+ WebSocketThrottle::GetInstance()->PutInQueue(websocket_); |
} |
WebSocketJob::State GetWebSocketJobState() { |
return websocket_->state_; |
@@ -230,7 +230,7 @@ class WebSocketJobTest : public PlatformTest { |
void CloseWebSocketJob() { |
if (websocket_->socket_) { |
websocket_->socket_->DetachDelegate(); |
- Singleton<WebSocketThrottle>::get()->RemoveFromQueue(websocket_); |
+ WebSocketThrottle::GetInstance()->RemoveFromQueue(websocket_); |
} |
websocket_->state_ = WebSocketJob::CLOSED; |
websocket_->delegate_ = NULL; |