Index: base/files/file_path_watcher_linux.cc |
diff --git a/base/files/file_path_watcher_linux.cc b/base/files/file_path_watcher_linux.cc |
index 72c8610ce5995ffbb2888c29f5e1bd8eec41724a..4bdfe74b4659077f8ba972dec059289676cd9c41 100644 |
--- a/base/files/file_path_watcher_linux.cc |
+++ b/base/files/file_path_watcher_linux.cc |
@@ -110,9 +110,10 @@ class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate, |
// cleanup thread, in case it quits before Cancel() is called. |
virtual void WillDestroyCurrentMessageLoop() OVERRIDE; |
- private: |
+ protected: |
virtual ~FilePathWatcherImpl() {} |
+ private: |
// Cleans up and stops observing the |message_loop_| thread. |
void CancelOnMessageLoopThread() OVERRIDE; |