Index: Source/devtools/front_end/profiler/CPUProfileView.js |
diff --git a/Source/devtools/front_end/profiler/CPUProfileView.js b/Source/devtools/front_end/profiler/CPUProfileView.js |
index 38eb785ef2fd1b9441d25fa41de22b6ab4929512..aea3dd376b32a91c28b47c54a2a38ea11d2bd401 100644 |
--- a/Source/devtools/front_end/profiler/CPUProfileView.js |
+++ b/Source/devtools/front_end/profiler/CPUProfileView.js |
@@ -88,6 +88,14 @@ WebInspector.CPUProfileView._TypeTree = "Tree"; |
WebInspector.CPUProfileView._TypeHeavy = "Heavy"; |
WebInspector.CPUProfileView.prototype = { |
+ focus: function() |
+ { |
+ if (this._flameChart) |
+ this._flameChart.focus(); |
+ else |
+ WebInspector.View.prototype.focus.call(this); |
+ }, |
+ |
/** |
* @return {?WebInspector.Target} |
*/ |