Index: chrome/browser/extensions/api/socket/socket_api.cc |
=================================================================== |
--- chrome/browser/extensions/api/socket/socket_api.cc (revision 148858) |
+++ chrome/browser/extensions/api/socket/socket_api.cc (working copy) |
@@ -42,10 +42,6 @@ |
bool SocketAsyncApiFunction::PrePrepare() { |
manager_ = ExtensionSystem::Get(profile())->socket_manager(); |
- DCHECK(manager_) << "There is no socket manager. " |
- "If this assertion is failing during a test, then it is likely that " |
- "TestExtensionSystem is failing to provide an instance of " |
- "ApiResourceManager<Socket>."; |
return manager_ != NULL; |
} |