| Index: content/browser/download/download_item_impl.h
|
| diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
|
| index 1f72f5ef6e30b323a4b4a56b6f4a85814e0b7966..7975085adbc9de25c3a8cc1db86fcab782bc5698 100644
|
| --- a/content/browser/download/download_item_impl.h
|
| +++ b/content/browser/download/download_item_impl.h
|
| @@ -37,7 +37,6 @@ class CONTENT_EXPORT DownloadItemImpl : public content::DownloadItem {
|
| class CONTENT_EXPORT Delegate {
|
| public:
|
| Delegate();
|
| - virtual ~Delegate();
|
|
|
| // Used for catching use-after-free errors.
|
| void Attach();
|
| @@ -75,6 +74,9 @@ class CONTENT_EXPORT DownloadItemImpl : public content::DownloadItem {
|
| // Assert consistent state for delgate object at various transitions.
|
| virtual void AssertStateConsistent(DownloadItem* download) const = 0;
|
|
|
| + protected:
|
| + virtual ~Delegate();
|
| +
|
| private:
|
| // For "Outlives attached DownloadItemImpl" invariant assertion.
|
| int count_;
|
|
|