Index: sync/internal_api/public/util/weak_handle_unittest.cc |
diff --git a/sync/internal_api/public/util/weak_handle_unittest.cc b/sync/internal_api/public/util/weak_handle_unittest.cc |
index 4be4fb792d18407ea41c3621ab541cd42f7ac3fc..44b579563867611dee0cad4cc959ad59e556cb4c 100644 |
--- a/sync/internal_api/public/util/weak_handle_unittest.cc |
+++ b/sync/internal_api/public/util/weak_handle_unittest.cc |
@@ -8,7 +8,7 @@ |
#include "base/compiler_specific.h" |
#include "base/location.h" |
#include "base/memory/weak_ptr.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/threading/thread.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -53,7 +53,7 @@ class WeakHandleTest : public ::testing::Test { |
} |
void PumpLoop() { |
- message_loop_.RunUntilIdle(); |
+ base::RunLoop().RunUntilIdle(); |
} |
static void CallTestFromOtherThread(tracked_objects::Location from_here, |