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

Unified Diff: runtime/vm/source_report.cc

Issue 2718523003: Fixed issue in MallocHooks where a MallocHookScope was accidentally removed during a merge, causing… (Closed)
Patch Set: Fixed issue in MallocHooks where a MallocHookScope was accidentally removed during a merge, causing… 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') | tests/language/disassemble_test.dart » ('j') | 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 e156203e50365609070416d5463e0c294dbc5bec..1508ae7347a12cf46019b7fd728ce0519402a524 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(), Thread::kMutatorTask, -1,
- -1);
+ SampleFilter samplesForIsolate(thread_->isolate()->main_port(),
+ Thread::kMutatorTask, -1, -1);
profile_.Build(thread, &samplesForIsolate, Profile::kNoTags);
}
}
« no previous file with comments | « runtime/vm/snapshot_test.cc ('k') | tests/language/disassemble_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698