| Index: net/base/keygen_handler_unittest.cc
|
| diff --git a/net/base/keygen_handler_unittest.cc b/net/base/keygen_handler_unittest.cc
|
| index b0c90b238ff6b44661770c9fcc55ba01e9e06882..af21274724ee871cf299fd97d7af93b997f8be5d 100644
|
| --- a/net/base/keygen_handler_unittest.cc
|
| +++ b/net/base/keygen_handler_unittest.cc
|
| @@ -15,7 +15,6 @@
|
| #include "base/logging.h"
|
| #include "base/strings/string_piece.h"
|
| #include "base/synchronization/waitable_event.h"
|
| -#include "base/threading/thread_restrictions.h"
|
| #include "base/threading/worker_pool.h"
|
| #include "build/build_config.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -176,9 +175,6 @@ void ConcurrencyTestCallback(const std::string& challenge,
|
| base::WaitableEvent* event,
|
| std::unique_ptr<KeygenHandler> handler,
|
| std::string* result) {
|
| - // We allow Singleton use on the worker thread here since we use a
|
| - // WaitableEvent to synchronize, so it's safe.
|
| - base::ThreadRestrictions::ScopedAllowSingleton scoped_allow_singleton;
|
| handler->set_stores_key(false); // Don't leave the key-pair behind.
|
| *result = handler->GenKeyAndSignChallenge();
|
| event->Signal();
|
|
|