summaryrefslogtreecommitdiffstats
path: root/base/files/file_path_watcher_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/files/file_path_watcher_browsertest.cc')
-rw-r--r--base/files/file_path_watcher_browsertest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/files/file_path_watcher_browsertest.cc b/base/files/file_path_watcher_browsertest.cc
index e7d1680..4f0cb27 100644
--- a/base/files/file_path_watcher_browsertest.cc
+++ b/base/files/file_path_watcher_browsertest.cc
@@ -22,6 +22,7 @@
#include "base/files/scoped_temp_dir.h"
#include "base/message_loop.h"
#include "base/message_loop_proxy.h"
+#include "base/run_loop.h"
#include "base/stl_util.h"
#include "base/stringprintf.h"
#include "base/synchronization/waitable_event.h"
@@ -167,7 +168,7 @@ class FilePathWatcherTest : public testing::Test {
}
virtual void TearDown() OVERRIDE {
- loop_.RunUntilIdle();
+ RunLoop().RunUntilIdle();
}
void DeleteDelegateOnFileThread(TestDelegate* delegate) {