Last Comment Bug 776979 - clean up nsTimeout timer initialization
: clean up nsTimeout timer initialization
Product: Core
Classification: Components
Component: DOM (show other bugs)
: unspecified
: All All
-- normal (vote)
: mozilla17
Assigned To: Nathan Froyd [:froydnj]
: Andrew Overholt [:overholt]
Depends on:
  Show dependency treegraph
Reported: 2012-07-24 10:37 PDT by Nathan Froyd [:froydnj]
Modified: 2012-07-25 08:11 PDT (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

minor cleanup (4.59 KB, patch)
2012-07-24 10:54 PDT, Nathan Froyd [:froydnj]
bzbarsky: review+
Details | Diff | Splinter Review

Description User image Nathan Froyd [:froydnj] 2012-07-24 10:37:53 PDT

Comment 1 User image Nathan Froyd [:froydnj] 2012-07-24 10:54:44 PDT
Created attachment 645378 [details] [diff] [review]
minor cleanup

Add an InitTimer method to nsTimeout to hide some of the underlying details that currently get repeated in every call.

I wrote this as a step towards understanding in my patch series for bug 715376.  If the cleanup's not worth it, no big loss...
Comment 2 User image Boris Zbarsky [:bz] (still a bit busy) 2012-07-24 11:12:28 PDT
Comment on attachment 645378 [details] [diff] [review]
minor cleanup

Comment 4 User image Ed Morley [:emorley] 2012-07-25 08:11:43 PDT

Note You need to log in before you can comment on or make changes to this bug.