[devtools] Cleanup return type of Timeline.TimelineUIUtils.eventStyle().
In `Timeline.TimelineUIUtils.eventStyle()` we used to return either a `Timeline.TimelineUIUtils` instance or a custom object literal, we even put a custom type annotation here to make that pass Closure type checking. But it's better to just use `Timeline.TimelineRecordStyle` consistently here, and also faster. Change-Id: Ie8834b7a4f8862fde3d2d7c6d6c5ee04dec76b53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1845752 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by:Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#703649}
Showing
Please register or sign in to comment