Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 030c46307ecd3d8e7af8577c5970aaf694f74b7f
      
https://github.com/WebKit/WebKit/commit/030c46307ecd3d8e7af8577c5970aaf694f74b7f
  Author: Devin Rousso <[email protected]>
  Date:   2026-10-09 (Fri, 09 Oct 2026)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Views/LayoutTimelineOverviewGraph.js
    M Source/WebInspectorUI/UserInterface/Views/MediaTimelineOverviewGraph.js
    M Source/WebInspectorUI/UserInterface/Views/NetworkTimelineOverviewGraph.js
    M Source/WebInspectorUI/UserInterface/Views/ScriptTimelineOverviewGraph.js
    M Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js

  Log Message:
  -----------
  Web Inspector: Timelines: unify record bar layout code
https://bugs.webkit.org/show_bug.cgi?id=318565

Reviewed by Timothy Hatcher.

These all were almost identical code, so create a common shared function to use 
instead.

* Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js:
(WI.TimelineOverviewGraph.prototype.layoutRecordBars): Added.
* Source/WebInspectorUI/UserInterface/Views/LayoutTimelineOverviewGraph.js:
(WI.LayoutTimelineOverviewGraph.prototype.layout):
(WI.LayoutTimelineOverviewGraph.prototype._updateRowLayout): Deleted.
(WI.LayoutTimelineOverviewGraph.prototype._updateRowLayout.createBar): Deleted.
* Source/WebInspectorUI/UserInterface/Views/MediaTimelineOverviewGraph.js:
(WI.MediaTimelineOverviewGraph.prototype.layout):
* Source/WebInspectorUI/UserInterface/Views/NetworkTimelineOverviewGraph.js:
(WI.NetworkTimelineOverviewGraph.prototype.layout):
(WI.NetworkTimelineOverviewGraph.prototype.layout.createBar): Deleted.
* Source/WebInspectorUI/UserInterface/Views/ScriptTimelineOverviewGraph.js:
(WI.ScriptTimelineOverviewGraph.prototype.layout):
(WI.ScriptTimelineOverviewGraph.prototype.layout.createBar): Deleted.

Canonical link: https://commits.webkit.org/323279@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to