Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: base/debug/trace_event_impl.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/debug/trace_event_impl.h
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
index 58a44dabf0ef0c5665163bc27ab5436beb417c76..4e93b7e8018473d77353de8450e0d7c660f77d76 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -227,6 +227,9 @@ class BASE_EXPORT TraceLog {
// data. However, trace macros and methods called within the observer will
// deadlock.
virtual void OnTraceLogWillDisable() { }
+
+ protected:
+ virtual ~EnabledStateChangedObserver() { }
};
void AddEnabledStateObserver(EnabledStateChangedObserver* listener);
void RemoveEnabledStateObserver(EnabledStateChangedObserver* listener);

Powered by Google App Engine
This is Rietveld 408576698