[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) {