Index: content/browser/notifications/platform_notification_context_unittest.cc |
diff --git a/content/browser/notifications/platform_notification_context_unittest.cc b/content/browser/notifications/platform_notification_context_unittest.cc |
index 30ab46a78fab77bd475b57827959871fd4367529..4560f7d5c1879f95888f52b74aea492cc8ca6a94 100644 |
--- a/content/browser/notifications/platform_notification_context_unittest.cc |
+++ b/content/browser/notifications/platform_notification_context_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "base/files/file_util.h" |
#include "base/files/scoped_temp_dir.h" |
#include "base/run_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#include "content/browser/notifications/platform_notification_context_impl.h" |
#include "content/browser/service_worker/embedded_worker_test_helper.h" |
#include "content/browser/service_worker/service_worker_context_wrapper.h" |
@@ -99,7 +100,7 @@ class PlatformNotificationContextTest : public ::testing::Test { |
// Overrides the task runner in |context| with the current message loop |
// proxy, to reduce the number of threads involved in the tests. |
void OverrideTaskRunnerForTesting(PlatformNotificationContextImpl* context) { |
- context->SetTaskRunnerForTesting(base::MessageLoopProxy::current()); |
+ context->SetTaskRunnerForTesting(base::ThreadTaskRunnerHandle::Get()); |
} |
// Returns the testing browsing context that can be used for this test. |