| Index: extensions/browser/api/declarative/rules_registry_unittest.cc
|
| diff --git a/extensions/browser/api/declarative/rules_registry_unittest.cc b/extensions/browser/api/declarative/rules_registry_unittest.cc
|
| index edf91514f5d722bf67de9b69ac3d5fc5b3a40bd2..4598a07145a2fe12101e0d17f359aba236ea53d2 100644
|
| --- a/extensions/browser/api/declarative/rules_registry_unittest.cc
|
| +++ b/extensions/browser/api/declarative/rules_registry_unittest.cc
|
| @@ -8,6 +8,7 @@
|
| #include <utility>
|
|
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "base/values.h"
|
| #include "content/public/test/test_browser_thread.h"
|
| #include "extensions/browser/api/declarative/rules_registry_service.h"
|
| @@ -143,7 +144,7 @@ TEST(RulesRegistryTest, FillOptionalIdentifiers) {
|
|
|
| // Make sure that deletion traits of registry are executed.
|
| registry = NULL;
|
| - message_loop.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| TEST(RulesRegistryTest, FillOptionalPriority) {
|
| @@ -179,7 +180,7 @@ TEST(RulesRegistryTest, FillOptionalPriority) {
|
|
|
| // Make sure that deletion traits of registry are executed.
|
| registry = NULL;
|
| - message_loop.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| // Test verifies 2 rules defined in the manifest appear in the registry.
|
|
|