Index: components/ssl_errors/error_classification_unittest.cc |
diff --git a/components/ssl_errors/error_classification_unittest.cc b/components/ssl_errors/error_classification_unittest.cc |
index a9c3bc6307ddde1912c01d38e6e16da1911c1e1d..a4bb9eb7b1e9894bb5222a373e6207e979359f8a 100644 |
--- a/components/ssl_errors/error_classification_unittest.cc |
+++ b/components/ssl_errors/error_classification_unittest.cc |
@@ -17,7 +17,6 @@ |
#include "net/cert/x509_certificate.h" |
#include "net/test/cert_test_util.h" |
#include "net/test/test_certificate_data.h" |
-#include "net/url_request/url_request_test_util.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "url/gurl.h" |
@@ -190,13 +189,9 @@ |
// |GetClockState|. |
TestingPrefServiceSimple pref_service; |
network_time::NetworkTimeTracker::RegisterPrefs(pref_service.registry()); |
- base::MessageLoop loop; |
network_time::NetworkTimeTracker network_time_tracker( |
base::WrapUnique(new base::DefaultClock()), |
- base::WrapUnique(new base::DefaultTickClock()), &pref_service, |
- new net::TestURLRequestContextGetter( |
- base::ThreadTaskRunnerHandle::Get())); |
- ; |
+ base::WrapUnique(new base::DefaultTickClock()), &pref_service); |
EXPECT_EQ( |
ssl_errors::ClockState::CLOCK_STATE_UNKNOWN, |
ssl_errors::GetClockState(base::Time::Now(), &network_time_tracker)); |