summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/heapcheck/suppressions.txt6
-rw-r--r--tools/valgrind/memcheck/suppressions.txt6
-rw-r--r--webkit/fileapi/file_system_file_util.h2
3 files changed, 2 insertions, 12 deletions
diff --git a/tools/heapcheck/suppressions.txt b/tools/heapcheck/suppressions.txt
index 229bebc..7c3e697 100644
--- a/tools/heapcheck/suppressions.txt
+++ b/tools/heapcheck/suppressions.txt
@@ -1384,12 +1384,6 @@
fun:browser_sync::ProfileSyncServiceSessionTest::SetUp
}
{
- bug_79329
- Heapcheck:Leak
- ...
- fun:*FileEnumerator*
-}
-{
bug_79377
Heapcheck:Leak
...
diff --git a/tools/valgrind/memcheck/suppressions.txt b/tools/valgrind/memcheck/suppressions.txt
index 832ace5..e866869 100644
--- a/tools/valgrind/memcheck/suppressions.txt
+++ b/tools/valgrind/memcheck/suppressions.txt
@@ -4298,12 +4298,6 @@
fun:_ZN13sync_notifier104_GLOBAL__N_chrome_browser_sync_notifier_non_blocking_invalidation_notifier_unittest.cc_00000000_5C759CC735NonBlockingInvalidationNotifierTest5SetUpEv
}
{
- bug_79329
- Memcheck:Leak
- ...
- fun:*file_util*FileEnumerator*
-}
-{
bug_79357
Memcheck:Addr4
fun:_ZN12_GLOBAL__N_119FilePathWatcherImpl5WatchERK8FilePathPN15FilePathWatcher8DelegateE
diff --git a/webkit/fileapi/file_system_file_util.h b/webkit/fileapi/file_system_file_util.h
index 9d3eb26..1169d02 100644
--- a/webkit/fileapi/file_system_file_util.h
+++ b/webkit/fileapi/file_system_file_util.h
@@ -135,6 +135,8 @@ class FileSystemFileUtil {
// It will be implemented by each subclass such as FileSystemFileEnumerator.
class AbstractFileEnumerator {
public:
+ virtual ~AbstractFileEnumerator() {}
+
// Returns an empty string if there are no more results.
virtual FilePath Next() = 0;