Summary: | Web Inspector: eliminate the linear and rendering frames TimelineOverview subclasses | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Matt Baker <mattbaker> | ||||||
Component: | Web Inspector | Assignee: | Matt Baker <mattbaker> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 153034 | ||||||||
Attachments: |
|
Description
Matt Baker
2016-02-08 12:12:46 PST
Created attachment 271369 [details]
[Patch] Proposed Fix
Comment on attachment 271369 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=271369&action=review > Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js:34 > + this._timelinesSettings = this._createViewModeSettings(WebInspector.TimelineOverview.ViewMode.Timelines, 0.0001, 60, 0.01, 0, 15); _timelinesViewModeSettings would read better than two plural nouns. > Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js:39 > + this._renderingFramesSettings = this._createViewModeSettings(WebInspector.TimelineOverview.ViewMode.RenderingFrames, minimumDurationPerPixel, maximumDurationPerPixel, minimumDurationPerPixel, 0, 100); _renderingFramesViewModeSettings > Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js:653 > + else > + timelineViewMode = WebInspector.TimelineOverview.ViewMode.Timelines; Could make this the default assignment for the let, and just keep the if without an else. Created attachment 271377 [details]
[Patch] Proposed Fix
Comment on attachment 271377 [details] [Patch] Proposed Fix Clearing flags on attachment: 271377 Committed r196606: <http://trac.webkit.org/changeset/196606> All reviewed patches have been landed. Closing bug. |