Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js

Issue 2163093003: [DevTools] Remove Object.values and Object.isEmpty from utilities.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
index f7154e4d5b11623345cafcc006cbabc6a3095275..b0c430e7e2f62b789a1bee8049bc1f0d3546f712 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
@@ -554,7 +554,7 @@ WebInspector.TimelineFlameChartDataProvider.prototype = {
_appendAsyncEvents: function(asyncEvents)
{
var groups = WebInspector.TimelineModel.AsyncEventGroup;
- var groupArray = Object.values(groups);
+ var groupArray = Object.keys(groups).map(key => groups[key]);
groupArray.remove(groups.animation);
groupArray.remove(groups.input);

Powered by Google App Engine
This is Rietveld 408576698