[Webkit-unassigned] [Bug 132574] clean up ResourceLoadTiming

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 12 11:24:22 PDT 2014


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





--- Comment #27 from Alex Christensen <achristensen at apple.com>  2014-05-12 11:24:41 PST ---
(In reply to comment #25)
> It seems strange to see a pointer variable used without a null check, or any obvious reason why it can't be null. Can the function return a reference?
In this case it was just created in the previous line.  I'll add an if(timing) just to be extra safe in case the creation failed for some reason or someone changes the behavior in the future.  It needs to be a pointer because not all ResourceResponse objects have a resourceLoadTiming.

-- 
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