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

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: protected -> public 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..f405e00116463b52bb53e00946c40cfd58ebb1a6 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -217,6 +217,8 @@ class BASE_EXPORT TraceLog {
// on-demand.
class EnabledStateChangedObserver {
public:
+ virtual ~EnabledStateChangedObserver() { }
+
// Called just before the tracing system becomes
// enabled. TraceLog::IsEnabled will return false at this point and trace
// macros and methods called within the observer will deadlock.

Powered by Google App Engine
This is Rietveld 408576698