 Chromium Code Reviews
 Chromium Code Reviews Issue 2314173003:
  Timeline: make prepareHighlightedEntryInfo return ?Promise<!Element>  (Closed)
    
  
    Issue 2314173003:
  Timeline: make prepareHighlightedEntryInfo return ?Promise<!Element>  (Closed) 
  | Index: third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js | 
| diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js b/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js | 
| index 946e5c3270ec19c947ee53431746713b90738511..77a7b2ba57a0787ae519483505325bfc4040d661 100644 | 
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js | 
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js | 
| @@ -138,7 +138,7 @@ WebInspector.ProfileFlameChartDataProvider.prototype = { | 
| /** | 
| * @override | 
| * @param {number} entryIndex | 
| - * @return {?Array<!{title: string, value: (string|!Element)}>} | 
| + * @return {?Promise<!Element>} | 
| 
alph
2016/09/08 00:16:05
Why is it Promise? I can see it always returns res
 | 
| */ | 
| prepareHighlightedEntryInfo: function(entryIndex) | 
| { |