Index: base/message_pump_glib_unittest.cc |
diff --git a/base/message_pump_glib_unittest.cc b/base/message_pump_glib_unittest.cc |
index 9ef3822f7560d5281f34d3c786601614f20fe4fe..be11c2f50e4e5e248ea6117e4d49f2092b1e2f6f 100644 |
--- a/base/message_pump_glib_unittest.cc |
+++ b/base/message_pump_glib_unittest.cc |
@@ -15,6 +15,7 @@ |
#include "base/callback.h" |
#include "base/memory/ref_counted.h" |
#include "base/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/threading/thread.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -22,6 +23,7 @@ |
#include <gtk/gtk.h> |
#endif |
+namespace base { |
namespace { |
// This class injects dummy "events" into the GLib loop. When "handled" these |
@@ -189,7 +191,7 @@ TEST_F(MessagePumpGLibTest, TestQuit) { |
// Checks that Quit works and that the basic infrastructure is working. |
// Quit from a task |
- loop()->RunUntilIdle(); |
+ RunLoop().RunUntilIdle(); |
EXPECT_EQ(0, injector()->processed_events()); |
injector()->Reset(); |
@@ -574,3 +576,5 @@ TEST_F(MessagePumpGLibTest, TestGtkLoop) { |
base::Bind(&TestGtkLoopInternal, base::Unretained(injector()))); |
loop()->Run(); |
} |
+ |
+} // namespace base |