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 e02334c2617df3b733383e961cb9448da10bea8a..502e7c114417bb30442975062d494deb7a0eb5db 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
@@ -907,6 +907,9 @@ WebInspector.ProfilesPanel.prototype = { |
contextMenu.appendItem(WebInspector.UIString.capitalize("Reveal in Summary ^view"), revealInView.bind(this, "Summary")); |
}, |
+ /** |
+ * @override |
+ */ |
wasShown: function() |
{ |
WebInspector.context.setFlavor(WebInspector.ProfilesPanel, this); |
@@ -920,6 +923,9 @@ WebInspector.ProfilesPanel.prototype = { |
this._sidebarTree.focus(); |
}, |
+ /** |
+ * @override |
+ */ |
willHide: function() |
{ |
WebInspector.context.setFlavor(WebInspector.ProfilesPanel, null); |