| Index: base/files/file_path_watcher.cc
|
| diff --git a/base/files/file_path_watcher.cc b/base/files/file_path_watcher.cc
|
| index 7ce64ac49cf1df6eac1bbfdcda45cb71b4e92195..219508d523807209ca76e029f24a031700239519 100644
|
| --- a/base/files/file_path_watcher.cc
|
| +++ b/base/files/file_path_watcher.cc
|
| @@ -13,6 +13,12 @@
|
| namespace base {
|
| namespace files {
|
|
|
| +// static
|
| +void FilePathWatcher::CancelWatch(
|
| + const scoped_refptr<PlatformDelegate>& delegate) {
|
| + delegate->CancelOnMessageLoopThread();
|
| +}
|
| +
|
| FilePathWatcher::~FilePathWatcher() {
|
| impl_->Cancel();
|
| }
|
|
|