| Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
|
| index 2f42580662fc43f20aa308c7741b1b1a2c6a573e..42c0db6c9d7bd5ce3e63c62ad05cbcc8254186b1 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
|
| @@ -875,7 +875,7 @@ WebInspector.ProfilesPanel.prototype = {
|
| if (!(target instanceof WebInspector.RemoteObject))
|
| return;
|
|
|
| - if (WebInspector.inspectorView.currentPanel() !== this)
|
| + if (!this.isShowing())
|
| return;
|
|
|
| var object = /** @type {!WebInspector.RemoteObject} */ (target);
|
| @@ -900,7 +900,7 @@ WebInspector.ProfilesPanel.prototype = {
|
| */
|
| function didReceiveHeapObjectId(viewName, error, result)
|
| {
|
| - if (WebInspector.inspectorView.currentPanel() !== this)
|
| + if (!this.isShowing())
|
| return;
|
| if (!error)
|
| this.showObject(result, viewName);
|
| @@ -1323,11 +1323,6 @@ WebInspector.ProfilesSidebarTreeElement.prototype = {
|
| __proto__: TreeElement.prototype
|
| }
|
|
|
| -WebInspector.ProfilesPanel.show = function()
|
| -{
|
| - WebInspector.inspectorView.setCurrentPanel(WebInspector.ProfilesPanel._instance());
|
| -}
|
| -
|
| /**
|
| * @return {!WebInspector.ProfilesPanel}
|
| */
|
|
|