Index: base/test/test_message_loop.cc |
diff --git a/base/test/test_message_loop.cc b/base/test/test_message_loop.cc |
index cc6a00073d837287d42604eb5038739accb768a5..7283a8799294d3c56bc8fd0aa016db89d21153e3 100644 |
--- a/base/test/test_message_loop.cc |
+++ b/base/test/test_message_loop.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "base/run_loop.h" |
#include "base/test/test_message_loop.h" |
namespace base { |
@@ -11,7 +12,7 @@ TestMessageLoop::TestMessageLoop() {} |
TestMessageLoop::TestMessageLoop(MessageLoop::Type type) : loop_(type) {} |
TestMessageLoop::~TestMessageLoop() { |
- loop_.RunUntilIdle(); |
+ RunLoop().RunUntilIdle(); |
} |
} // namespace base |