Index: components/subresource_filter/content/browser/content_ruleset_service_unittest.cc |
diff --git a/components/subresource_filter/content/browser/content_ruleset_service_unittest.cc b/components/subresource_filter/content/browser/content_ruleset_service_unittest.cc |
index b7914875dce61a1bfb829f4509d82772ae0f1dd4..e99b4beeb2b97202c3c63c8a5b913d7850dc1286 100644 |
--- a/components/subresource_filter/content/browser/content_ruleset_service_unittest.cc |
+++ b/components/subresource_filter/content/browser/content_ruleset_service_unittest.cc |
@@ -48,7 +48,7 @@ class TestContentBrowserClient : public ::content::ContentBrowserClient { |
// ::content::ContentBrowserClient: |
void PostAfterStartupTask(const tracked_objects::Location&, |
const scoped_refptr<base::TaskRunner>& task_runner, |
- base::Closure task) override { |
+ base::OnceClosure task) override { |
scoped_refptr<base::TaskRunner> ui_task_runner = |
content::BrowserThread::GetTaskRunnerForThread( |
content::BrowserThread::UI); |
@@ -62,7 +62,7 @@ class TestContentBrowserClient : public ::content::ContentBrowserClient { |
} |
private: |
- base::Closure last_task_; |
+ base::OnceClosure last_task_; |
DISALLOW_COPY_AND_ASSIGN(TestContentBrowserClient); |
}; |