| Index: Source/devtools/front_end/profiler/ProfilesPanel.js
|
| diff --git a/Source/devtools/front_end/profiler/ProfilesPanel.js b/Source/devtools/front_end/profiler/ProfilesPanel.js
|
| index fcb64763d8dd69ca4b19764d5504b77cc59a4231..4ca683d838e528b5c441dd0bab8e2f7f58dc6216 100644
|
| --- a/Source/devtools/front_end/profiler/ProfilesPanel.js
|
| +++ b/Source/devtools/front_end/profiler/ProfilesPanel.js
|
| @@ -517,7 +517,7 @@ WebInspector.ProfileTypeRegistry = function() {
|
| this.trackingHeapSnapshotProfileType = new WebInspector.TrackingHeapSnapshotProfileType();
|
| this._addProfileType(this.trackingHeapSnapshotProfileType);
|
|
|
| - if (Capabilities.isMainFrontend && WebInspector.experimentsSettings.canvasInspection.isEnabled()) {
|
| + if (!WebInspector.isWorkerFrontend() && WebInspector.experimentsSettings.canvasInspection.isEnabled()) {
|
| this.canvasProfileType = new WebInspector.CanvasProfileType();
|
| this._addProfileType(this.canvasProfileType);
|
| }
|
|
|