Closed
Bug 1178363
Opened 9 years ago
Closed 9 years ago
clean up nsTimerImpl's external interface a bit
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(5 files, 1 obsolete file)
1.23 KB,
patch
|
poiru
:
review+
|
Details | Diff | Splinter Review |
1.19 KB,
patch
|
poiru
:
review+
|
Details | Diff | Splinter Review |
1.42 KB,
patch
|
poiru
:
review+
|
Details | Diff | Splinter Review |
1.17 KB,
patch
|
poiru
:
review+
|
Details | Diff | Splinter Review |
1.27 KB,
patch
|
poiru
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Nothing outside nsTimerImpl uses it, and with a name like "SetDelayInternal", nothing should.
Attachment #8627252 -
Flags: review?(birunthan)
Assignee | ||
Comment 2•9 years ago
|
||
This method is only called by nsTimerEvent, which is an implementation detail of nsTimerImpl.
Attachment #8627253 -
Flags: review?(birunthan)
Assignee | ||
Comment 3•9 years ago
|
||
DispatchTracedTask is only called by the timer thread, which is already able to access private members of nsTimerImpl; there's no reason for DispatchTracedTask to be public.
Attachment #8627254 -
Flags: review?(birunthan)
Assignee | ||
Comment 4•9 years ago
|
||
PostTimerEvent is only called by the timer thread, which is already able to access private members of nsTimerImpl; there's no reason for PostTimerEvent to be public.
Attachment #8627255 -
Flags: review?(birunthan)
Updated•9 years ago
|
Attachment #8627252 -
Flags: review?(birunthan) → review+
Updated•9 years ago
|
Attachment #8627253 -
Flags: review?(birunthan) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8627254 [details] [diff] [review] make nsTimerImpl::DispatchTracedTask a private method Review of attachment 8627254 [details] [diff] [review]: ----------------------------------------------------------------- This patch seems to have been obsoleted by http://hg.mozilla.org/mozilla-central/rev/ce36885ea160
Attachment #8627254 -
Flags: review?(birunthan)
Updated•9 years ago
|
Attachment #8627255 -
Flags: review?(birunthan) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Noticed the problem with DispatchTracedTask after rebasing. GetTracedTask() is only called from nsTimerImpl itself, so it doesn't need to be public. GetTLSTraceInfo() is called from the timer thread, which has access to our private members already.
Attachment #8627254 -
Attachment is obsolete: true
Attachment #8627277 -
Flags: review?(birunthan)
Updated•9 years ago
|
Attachment #8627277 -
Flags: review?(birunthan) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Since GetGeneration() is only called by nsTimerEvent, it doesn't need to be public.
Attachment #8627291 -
Flags: review?(birunthan)
Updated•9 years ago
|
Attachment #8627291 -
Flags: review?(birunthan) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/d8477bd43531 https://hg.mozilla.org/integration/mozilla-inbound/rev/782ec69db4e3 https://hg.mozilla.org/integration/mozilla-inbound/rev/3eb2d9a5bfe5 https://hg.mozilla.org/integration/mozilla-inbound/rev/0edaf3f59b4d https://hg.mozilla.org/integration/mozilla-inbound/rev/0fb582f7086d
Comment 9•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d8477bd43531 https://hg.mozilla.org/mozilla-central/rev/782ec69db4e3 https://hg.mozilla.org/mozilla-central/rev/3eb2d9a5bfe5 https://hg.mozilla.org/mozilla-central/rev/0edaf3f59b4d https://hg.mozilla.org/mozilla-central/rev/0fb582f7086d
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•