Bug 149538 - Simplify Stopwatch::elapsedTime
Summary: Simplify Stopwatch::elapsedTime
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-24 13:13 PDT by Joseph Pecoraro
Modified: 2015-09-25 10:52 PDT (History)
4 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (1.19 KB, patch)
2015-09-24 13:14 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 2015-09-24 13:13:44 PDT
* SUMMARY
Simplify Stopwatch::elapsedTime.

In the case where the stopwatch is active, it calls monotonicallyIncreasingTime twice and updates both its member variables (some multiple times). It could be made simpler.
Comment 1 Joseph Pecoraro 2015-09-24 13:14:44 PDT
Created attachment 261888 [details]
[PATCH] Proposed Fix
Comment 2 WebKit Commit Bot 2015-09-25 10:52:07 PDT
Comment on attachment 261888 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 261888

Committed r190247: <http://trac.webkit.org/changeset/190247>
Comment 3 WebKit Commit Bot 2015-09-25 10:52:12 PDT
All reviewed patches have been landed.  Closing bug.