| Index: components/history/core/browser/expire_history_backend_unittest.cc
|
| diff --git a/components/history/core/browser/expire_history_backend_unittest.cc b/components/history/core/browser/expire_history_backend_unittest.cc
|
| index 6fc9b4272c207f92deb7047531b1f7c22c4f1197..ee87550e85b5a17b9e0fef554f00aa236027398b 100644
|
| --- a/components/history/core/browser/expire_history_backend_unittest.cc
|
| +++ b/components/history/core/browser/expire_history_backend_unittest.cc
|
| @@ -17,6 +17,7 @@
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/macros.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "base/scoped_observer.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -155,7 +156,7 @@ class ExpireHistoryTest : public testing::Test, public HistoryBackendNotifier {
|
| top_sites_ = nullptr;
|
|
|
| if (base::MessageLoop::current())
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
|
|
| pref_service_.reset();
|
| }
|
|
|