Index: components/ntp_snippets/request_throttler_unittest.cc |
diff --git a/components/ntp_snippets/request_throttler_unittest.cc b/components/ntp_snippets/request_throttler_unittest.cc |
index e75295e996304e3f1414e0fd47bb43eae746264c..97c2b0200bff81e275704ca3ae531e556b71ac68 100644 |
--- a/components/ntp_snippets/request_throttler_unittest.cc |
+++ b/components/ntp_snippets/request_throttler_unittest.cc |
@@ -24,8 +24,9 @@ class RequestThrottlerTest : public testing::Test { |
RequestThrottler::RegisterProfilePrefs(test_prefs_.registry()); |
// Use any arbitrary RequestType for this unittest. |
throttler_.reset(new RequestThrottler( |
- &test_prefs_, RequestThrottler::RequestType::CONTENT_SUGGESTION_FETCHER, |
- kCounterQuota)); |
+ &test_prefs_, |
+ RequestThrottler::RequestType::CONTENT_SUGGESTION_FETCHER)); |
+ throttler_->quota_ = kCounterQuota; |
} |
protected: |