| Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
|
| index c30218d1957cc683041e47b67895c17bd13ec3a8..567ace99ace99bde3020e773a7d976023244720e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
|
| @@ -419,8 +419,8 @@ Profiler.WritableProfileHeader = class extends Profiler.ProfileHeader {
|
| this._jsonifiedProfile = null;
|
| this.updateStatus(Common.UIString('Loaded'), false);
|
|
|
| - if (this._profileType.profileBeingRecorded() === this)
|
| - this._profileType.setProfileBeingRecorded(null);
|
| + if (this.profileType().profileBeingRecorded() === this)
|
| + this.profileType().setProfileBeingRecorded(null);
|
| }
|
|
|
| /**
|
| @@ -512,7 +512,7 @@ Profiler.WritableProfileHeader = class extends Profiler.ProfileHeader {
|
| }
|
| }
|
| this._fileName = this._fileName ||
|
| - `${this._profileType.typeName()}-${new Date().toISO8601Compact()}${this._profileType.fileExtension()}`;
|
| + `${this.profileType().typeName()}-${new Date().toISO8601Compact()}${this.profileType().fileExtension()}`;
|
| fileOutputStream.open(this._fileName, onOpenForSave.bind(this));
|
| }
|
|
|
|
|