commit | 0d43b80f066c84633124d0c5f87ef2e9c0e8e753 | [log] [tgz] |
---|---|---|
author | Paul Lewis <[email protected]> | Tue Jan 14 13:34:23 2020 |
committer | Commit Bot <[email protected]> | Tue Jan 14 13:53:10 2020 |
tree | fd9fdcd8a3b9cc43e22d17617fb4bdba0641560a | |
parent | dbe2c32350e16d08bb03803a3e528d86678880af [diff] [blame] |
Migrates profiler/ to ESM internally Bug: 1006759 Change-Id: Ic455b75d0b7f8288c3f009b98f05b2aa9c3ac9ce Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1997345 Commit-Queue: Paul Lewis <[email protected]> Reviewed-by: Tim van der Lippe <[email protected]>
diff --git a/front_end/profiler/LiveHeapProfileView.js b/front_end/profiler/LiveHeapProfileView.js index 7e1014f..16f495c 100644 --- a/front_end/profiler/LiveHeapProfileView.js +++ b/front_end/profiler/LiveHeapProfileView.js
@@ -2,10 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +import {SamplingHeapProfileNode} from './HeapProfileView.js'; // eslint-disable-line no-unused-vars + /** * @extends {UI.VBox} */ -export default class LiveHeapProfileView extends UI.VBox { +export class LiveHeapProfileView extends UI.VBox { constructor() { super(true); /** @type {!Map<string, !GridNode>} */ @@ -344,18 +346,3 @@ } } } - -/* Legacy exported object */ -self.Profiler = self.Profiler || {}; - -/* Legacy exported object */ -Profiler = Profiler || {}; - -/** @constructor */ -Profiler.LiveHeapProfileView = LiveHeapProfileView; - -/** @constructor */ -Profiler.LiveHeapProfileView.GridNode = GridNode; - -/** @constructor */ -Profiler.LiveHeapProfileView.ActionDelegate = ActionDelegate;