Index: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js |
index 11f37c859cbfcbc1c580b1ee0982181e2cf497ec..1a39579022b4208d51bcba6d34bac8da53f77009 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js |
@@ -1391,7 +1391,7 @@ Profiler.HeapProfileHeader = class extends Profiler.ProfileHeader { |
} |
console.assert(!this._workerProxy, 'HeapSnapshotWorkerProxy already exists'); |
this._workerProxy = new Profiler.HeapSnapshotWorkerProxy(this._handleWorkerEvent.bind(this)); |
- this._workerProxy.addEventListener('wait', setProfileWait, this); |
+ this._workerProxy.addEventListener(Profiler.HeapSnapshotWorkerProxy.Events.Wait, setProfileWait, this); |
this._receiver = this._workerProxy.createLoader(this.uid, this._snapshotReceived.bind(this)); |
} |