[Webkit-unassigned] [Bug 22469] Rename DOMWindowTimer into DOMTimer and move it into separate file
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 24 15:29:43 PST 2008
https://bugs.webkit.org/show_bug.cgi?id=22469
darin at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25454|review? |review+
Flag| |
------- Comment #3 from darin at apple.com 2008-11-24 15:29 PDT -------
(From update of attachment 25454)
> + <FileConfiguration
> + Name="Release_PGO|Win32"
> + >
> + <Tool
> + Name="VCCLCompilerTool"
> + WholeProgramOptimization="true"
> + />
> + </FileConfiguration>
I don't think we need this in the vcproj, do we?
> +static int lastUsedTimeoutId = 0;
This can go inside the DOMTimer constructor instead of outside the function. It
would be nice to scope it a little more tightly.
> +#include "ActiveDOMObject.h"
Why are you including this header in DOMTimer.h?
> +class DOMTimer : public TimerBase {
> +public:
> + // Creates a new timer with the next id and nesting level.
> + DOMTimer(JSDOMWindowBase* object, ScheduledAction* action);
Normally we'd omit the names "object" and "action" here, because the types make
it clear what the arguments are without names.
> + // Creates a timer from PausedTimeout, takes timeoutId and nestingLevel as they were persisted.
> + DOMTimer(int timeoutId, int nestingLevel, JSDOMWindowBase* object, ScheduledAction* action);
Same here.
r=me
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list