[Webkit-unassigned] [Bug 30467] Add DOMTimer support to InspectorTimelineAgent.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 25 21:04:22 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30467





--- Comment #5 from Kelly Norton <knorton at google.com>  2009-10-25 21:04:21 PDT ---
(In reply to comment #4)
> (From update of attachment 41839 [details])
> I like the term "Record" over "TimelineItem". But I see the logic in the name
> change.
> 
I can't remember why I got rid of "Record" but I like the term better too. How
about I do a separate renaming patch?

> > +    if (context->isDocument())
> > +        if (InspectorTimelineAgent* timelineAgent = static_cast<Document*>(context)->inspectorTimelineAgent())
> > +            timelineAgent->didInstallTimer(timer->m_timeoutId, timeout, singleShot);
> 
> There should be braces around the outer if() since it is multi-line inside.
>

Ok

> This would be better as helper inline function that returns
> InspectorTimelineAgent* to share with the other spots in this code.

Done ... uploading patch now.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list