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

Unified Diff: runtime/vm/source_report.cc

Issue 2713803003: Revert "Updated MallocHooks to collect stack traces when memory is allocated." (Closed)
Patch Set: Created 3 years, 10 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 | « runtime/vm/snapshot_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/source_report.cc
diff --git a/runtime/vm/source_report.cc b/runtime/vm/source_report.cc
index 1508ae7347a12cf46019b7fd728ce0519402a524..e156203e50365609070416d5463e0c294dbc5bec 100644
--- a/runtime/vm/source_report.cc
+++ b/runtime/vm/source_report.cc
@@ -56,8 +56,8 @@ void SourceReport::Init(Thread* thread,
ClearScriptTable();
if (IsReportRequested(kProfile)) {
// Build the profile.
- SampleFilter samplesForIsolate(thread_->isolate()->main_port(),
- Thread::kMutatorTask, -1, -1);
+ SampleFilter samplesForIsolate(thread_->isolate(), Thread::kMutatorTask, -1,
+ -1);
profile_.Build(thread, &samplesForIsolate, Profile::kNoTags);
}
}
« no previous file with comments | « runtime/vm/snapshot_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698