Bug 135373 - Web Inspector: Reduce work creating the initial WebInspector.TimelineRecordBar
Summary: Web Inspector: Reduce work creating the initial WebInspector.TimelineRecordBar
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-07-28 19:44 PDT by Joseph Pecoraro
Modified: 2014-07-28 21:15 PDT (History)
5 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (6.41 KB, patch)
2014-07-28 19:48 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.