Index: content/renderer/stats_collection_observer.cc |
diff --git a/content/renderer/stats_collection_observer.cc b/content/renderer/stats_collection_observer.cc |
index 4c4b911ec8cbedb9cdf0858ec590b48701c0f73a..f2c45bf461c6096192d047555d5c367e7865c5ff 100644 |
--- a/content/renderer/stats_collection_observer.cc |
+++ b/content/renderer/stats_collection_observer.cc |
@@ -30,4 +30,8 @@ void StatsCollectionObserver::DidStopLoading() { |
impl->RemoveObserver(this); |
} |
+void StatsCollectionObserver::OnDestruct() { |
+ delete this; |
+} |
+ |
} // namespace content |