Bug 135373

Summary: Web Inspector: Reduce work creating the initial WebInspector.TimelineRecordBar
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2014-07-28 19:44:32 PDT
* SUMMARY
WebInspector.TimelineRecordBar initializes its records and renderMode twice. Once in the constructor with empty values, and then immediately after. We can eliminate unnecessary duplication.
Comment 1 Radar WebKit Bug Importer 2014-07-28 19:44:40 PDT
<rdar://problem/17838230>
Comment 2 Joseph Pecoraro 2014-07-28 19:48:01 PDT
Created attachment 235658 [details]
[PATCH] Proposed Fix
Comment 3 WebKit Commit Bot 2014-07-28 21:14:59 PDT
Comment on attachment 235658 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 235658

Committed r171720: <http://trac.webkit.org/changeset/171720>
Comment 4 WebKit Commit Bot 2014-07-28 21:15:01 PDT
All reviewed patches have been landed.  Closing bug.