Index: runtime/vm/timeline.h |
diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h |
index 960eefa2dd5f28766f2b8c2cdd86141cc97456ab..983d3fc1a101dd36d0c6868de6932aba6b807e24 100644 |
--- a/runtime/vm/timeline.h |
+++ b/runtime/vm/timeline.h |
@@ -228,9 +228,9 @@ class TimelineStream { |
V(Isolate, false) \ |
-#define TIMELINE_FUNCTION_COMPILATION_DURATION(isolate, suffix, function) \ |
- TimelineDurationScope tds(isolate, \ |
- isolate->GetCompilerStream(), \ |
+#define TIMELINE_FUNCTION_COMPILATION_DURATION(thread, suffix, function) \ |
+ TimelineDurationScope tds(thread, \ |
+ thread->isolate()->GetCompilerStream(), \ |
"Compile" suffix); \ |
if (tds.enabled()) { \ |
tds.SetNumArguments(1); \ |