| Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js
|
| index 8383b46b8b86f3f02ab2f039691ea45b69bfa2d9..736ad7240e0442ae703f9f31cea2c03f1a5f1e6d 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js
|
| @@ -4,33 +4,33 @@
|
| /**
|
| * @unrestricted
|
| */
|
| -WebInspector.ProfileTypeRegistry = class {
|
| +Profiler.ProfileTypeRegistry = class {
|
| constructor() {
|
| this._profileTypes = [];
|
|
|
| - this.cpuProfileType = new WebInspector.CPUProfileType();
|
| + this.cpuProfileType = new Profiler.CPUProfileType();
|
| this._addProfileType(this.cpuProfileType);
|
| - this.heapSnapshotProfileType = new WebInspector.HeapSnapshotProfileType();
|
| + this.heapSnapshotProfileType = new Profiler.HeapSnapshotProfileType();
|
| this._addProfileType(this.heapSnapshotProfileType);
|
| - this.trackingHeapSnapshotProfileType = new WebInspector.TrackingHeapSnapshotProfileType();
|
| + this.trackingHeapSnapshotProfileType = new Profiler.TrackingHeapSnapshotProfileType();
|
| this._addProfileType(this.trackingHeapSnapshotProfileType);
|
| - this.samplingHeapProfileType = new WebInspector.SamplingHeapProfileType();
|
| + this.samplingHeapProfileType = new Profiler.SamplingHeapProfileType();
|
| this._addProfileType(this.samplingHeapProfileType);
|
| }
|
|
|
| /**
|
| - * @param {!WebInspector.ProfileType} profileType
|
| + * @param {!Profiler.ProfileType} profileType
|
| */
|
| _addProfileType(profileType) {
|
| this._profileTypes.push(profileType);
|
| }
|
|
|
| /**
|
| - * @return {!Array.<!WebInspector.ProfileType>}
|
| + * @return {!Array.<!Profiler.ProfileType>}
|
| */
|
| profileTypes() {
|
| return this._profileTypes;
|
| }
|
| };
|
|
|
| -WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry();
|
| +Profiler.ProfileTypeRegistry.instance = new Profiler.ProfileTypeRegistry();
|
|
|