Index: snapshot/thread_snapshot.h |
diff --git a/snapshot/thread_snapshot.h b/snapshot/thread_snapshot.h |
index 5203c2a04b0ce9dbcd76f472e8eb13013637bcd1..7ae883148f75f5db6bfd7c29aef1bcddf06dc38f 100644 |
--- a/snapshot/thread_snapshot.h |
+++ b/snapshot/thread_snapshot.h |
@@ -26,6 +26,8 @@ class MemorySnapshot; |
//! (lightweight process) present in a snapshot process. |
class ThreadSnapshot { |
public: |
+ virtual ~ThreadSnapshot() {} |
+ |
//! \brief Returns a CPUContext object corresponding to the thread’s CPU |
//! context. |
//! |
@@ -59,9 +61,6 @@ class ThreadSnapshot { |
//! \brief Returns the base address of a region used to store thread-specific |
//! data. |
virtual uint64_t ThreadSpecificDataAddress() const = 0; |
- |
- protected: |
- ~ThreadSnapshot() {} |
}; |
} // namespace crashpad |