Closed
Bug 1357986
Opened 7 years ago
Closed 7 years ago
Use helper functions of TimeUnit to make code more readable
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1. TimeUnit::Zero() is more readable than TimeUnit::FromMicroseconds(0). 2. TimeUnit::Zero() is more readable than TimeUnit(). 3. TimeUnit::FromInfinity() is more readable than TimeUnit::FromMicroseconds(std::numeric_limits<int64_t>::max()). 4. t.IsPositive() is more readable than t > TimeUnit().
Assignee | ||
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8860247 -
Flags: review?(kaku)
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8860247 [details] Bug 1357986 - Use helper functions of TimeUnit to make code more readable. https://reviewboard.mozilla.org/r/132250/#review135112
Attachment #8860247 -
Flags: review?(kaku) → review+
Assignee | ||
Comment 3•7 years ago
|
||
Thanks!
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e535df594d22 Use helper functions of TimeUnit to make code more readable. r=kaku
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e535df594d22
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•