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

Unified Diff: runtime/vm/timeline.h

Issue 2623113004: VM: Make indirect subclasses of StackResource have virtual destructor (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timeline.h
diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h
index cc93040798dbfe3de32d885d8e015c120b518e10..4b4333e02aea8714d0d8ba89e9bc4fe19799d985 100644
--- a/runtime/vm/timeline.h
+++ b/runtime/vm/timeline.h
@@ -461,7 +461,7 @@ class TimelineDurationScope : public TimelineEventScope {
TimelineStream* stream,
const char* label);
- ~TimelineDurationScope();
+ virtual ~TimelineDurationScope();
private:
int64_t timestamp_;
@@ -479,7 +479,7 @@ class TimelineBeginEndScope : public TimelineEventScope {
TimelineStream* stream,
const char* label);
- ~TimelineBeginEndScope();
+ virtual ~TimelineBeginEndScope();
private:
void EmitBegin();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698