| Index: Source/devtools/front_end/CPUProfileView.js
|
| diff --git a/Source/devtools/front_end/CPUProfileView.js b/Source/devtools/front_end/CPUProfileView.js
|
| index 745dc84e5a2913aea19c50a7e0e4eb231ba644f4..81070446eb1b6fd378370c6c82812f761e3becdb 100644
|
| --- a/Source/devtools/front_end/CPUProfileView.js
|
| +++ b/Source/devtools/front_end/CPUProfileView.js
|
| @@ -749,7 +749,7 @@ WebInspector.CPUProfileType.prototype = {
|
| removeProfile: function(profile)
|
| {
|
| WebInspector.ProfileType.prototype.removeProfile.call(this, profile);
|
| - if (!profile.isTemporary)
|
| + if (!profile.isTemporary && !profile.fromFile())
|
| ProfilerAgent.removeProfile(this.id, profile.uid);
|
| },
|
|
|
| @@ -919,11 +919,10 @@ WebInspector.CPUProfileHeader.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {File} file
|
| + * @param {!File} file
|
| */
|
| loadFromFile: function(file)
|
| {
|
| - this.title = file.name;
|
| this.sidebarElement.subtitle = WebInspector.UIString("Loading\u2026");
|
| this.sidebarElement.wait = true;
|
|
|
|
|