Last Comment Bug 776979 - clean up nsTimeout timer initialization
: clean up nsTimeout timer initialization
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla17
Assigned To: Nathan Froyd [:froydnj]
:
Mentors:
Depends on:
Blocks:
  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:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


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

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

    
Comment 1 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 Boris Zbarsky [:bz] 2012-07-24 11:12:28 PDT
Comment on attachment 645378 [details] [diff] [review]
minor cleanup

r=me
Comment 4 Ed Morley [:emorley] 2012-07-25 08:11:43 PDT
https://hg.mozilla.org/mozilla-central/rev/14323dee4bd7

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