Index: base/files/file_path_watcher_browsertest.cc |
diff --git a/base/files/file_path_watcher_browsertest.cc b/base/files/file_path_watcher_browsertest.cc |
index 49b652f5d463b0c7711c084114258c38212f008b..a422f8456734a31d1b8b672394230c56d4b55155 100644 |
--- a/base/files/file_path_watcher_browsertest.cc |
+++ b/base/files/file_path_watcher_browsertest.cc |
@@ -41,7 +41,7 @@ class NotificationCollector |
: public base::RefCountedThreadSafe<NotificationCollector> { |
public: |
NotificationCollector() |
- : loop_(base::MessageLoopProxy::CreateForCurrentThread()) {} |
+ : loop_(base::MessageLoopProxy::current()) {} |
// Called from the file thread by the delegates. |
void OnChange(TestDelegate* delegate) { |