Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eab5fd3f0b72ba3610918338bcbb049b97efae63
      
https://github.com/WebKit/WebKit/commit/eab5fd3f0b72ba3610918338bcbb049b97efae63
  Author: Devin Rousso <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

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

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

Reviewed by BJ Burg.

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

* Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js:
(WI.TimelineOverviewGraph.prototype.updateSelectedRecordBar): Added.
* Source/WebInspectorUI/UserInterface/Views/LayoutTimelineOverviewGraph.js:
(WI.LayoutTimelineOverviewGraph.prototype.updateSelectedRecord):
* Source/WebInspectorUI/UserInterface/Views/MediaTimelineOverviewGraph.js:
(WI.MediaTimelineOverviewGraph.prototype.updateSelectedRecord):
* Source/WebInspectorUI/UserInterface/Views/ScriptTimelineOverviewGraph.js:
(WI.ScriptTimelineOverviewGraph.prototype.updateSelectedRecord):

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



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

Reply via email to