Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1214)

Unified Diff: sync/internal_api/js_mutation_event_observer_unittest.cc

Issue 915373002: Migrate sync/ to base::RunLoop::RunUntilIdle() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sync/internal_api/js_mutation_event_observer_unittest.cc
diff --git a/sync/internal_api/js_mutation_event_observer_unittest.cc b/sync/internal_api/js_mutation_event_observer_unittest.cc
index 7db697dc5a94b1186794a4ec4990b09b8af8e82a..fb7daf9d615f4d3022a257be0fcaf2580e853b1c 100644
--- a/sync/internal_api/js_mutation_event_observer_unittest.cc
+++ b/sync/internal_api/js_mutation_event_observer_unittest.cc
@@ -5,7 +5,7 @@
#include "sync/internal_api/js_mutation_event_observer.h"
#include "base/basictypes.h"
-#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/values.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/util/weak_handle.h"
@@ -36,7 +36,7 @@ class JsMutationEventObserverTest : public testing::Test {
JsMutationEventObserver js_mutation_event_observer_;
void PumpLoop() {
- message_loop_.RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
}
};

Powered by Google App Engine
This is Rietveld 408576698