summaryrefslogtreecommitdiffstats
path: root/sync/js/sync_js_controller_unittest.cc
diff options
context:
space:
mode:
authorqi1988.yang <qi1988.yang@samsung.com>2015-02-25 20:24:40 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-26 04:25:17 +0000
commite7f7e82f95d39c2ee095c947e27e9f0c48e6f831 (patch)
tree5de494413a03c95d8d14d87b5ea90b1c74fefe51 /sync/js/sync_js_controller_unittest.cc
parent79f434392d01f8ef3d3457fba42e78120278bf9f (diff)
downloadchromium_src-e7f7e82f95d39c2ee095c947e27e9f0c48e6f831.zip
chromium_src-e7f7e82f95d39c2ee095c947e27e9f0c48e6f831.tar.gz
chromium_src-e7f7e82f95d39c2ee095c947e27e9f0c48e6f831.tar.bz2
Migrate sync/ to base::RunLoop::RunUntilIdle()
base::MessageLoop::RunUntilIdle() API is deprecated and the preferred way is using RunLoop now. BUG= 333557 Review URL: https://codereview.chromium.org/915373002 Cr-Commit-Position: refs/heads/master@{#318184}
Diffstat (limited to 'sync/js/sync_js_controller_unittest.cc')
-rw-r--r--sync/js/sync_js_controller_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync/js/sync_js_controller_unittest.cc b/sync/js/sync_js_controller_unittest.cc
index f6f1abf..bb834c5 100644
--- a/sync/js/sync_js_controller_unittest.cc
+++ b/sync/js/sync_js_controller_unittest.cc
@@ -4,7 +4,7 @@
#include "sync/js/sync_js_controller.h"
-#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/values.h"
#include "sync/js/js_event_details.h"
#include "sync/js/js_test_util.h"
@@ -22,7 +22,7 @@ using ::testing::StrictMock;
class SyncJsControllerTest : public testing::Test {
protected:
void PumpLoop() {
- message_loop_.RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
}
private: