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

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 44aedd577cac61716f53ed03a10a5e0cfb05a801..6d828a1deac55d510b6d732487f99fad8bd74f58 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