commit | d5de9a0d886caa6ecf8f29861663cd49f7ef2b24 | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <[email protected]> | Thu Sep 03 12:55:49 2020 |
committer | Commit Bot <[email protected]> | Tue Sep 08 13:04:19 2020 |
tree | 87615b6b849a21dd284ec739cccbbad07f41f5c5 | |
parent | b2541af131da10b0cc9614bb91e698d0af7ca4cc [diff] [blame] |
[globals] self.SDK.isolateManager [email protected] Bug: 1058320 Change-Id: Id455a3c9e5c9a9f220f7a933279196dc5e66f2cb Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2391250 Auto-Submit: Tim van der Lippe <[email protected]> Commit-Queue: Jack Franklin <[email protected]> Reviewed-by: Jack Franklin <[email protected]>
diff --git a/front_end/profiler/LiveHeapProfileView.js b/front_end/profiler/LiveHeapProfileView.js index 516f438..7177560 100644 --- a/front_end/profiler/LiveHeapProfileView.js +++ b/front_end/profiler/LiveHeapProfileView.js
@@ -114,7 +114,7 @@ async _poll() { const pollId = this._currentPollId; do { - const isolates = Array.from(self.SDK.isolateManager.isolates()); + const isolates = Array.from(SDK.IsolateManager.IsolateManager.instance().isolates()); const profiles = await Promise.all( isolates.map(isolate => isolate.heapProfilerModel() && isolate.heapProfilerModel().getSamplingProfile())); if (this._currentPollId !== pollId) {