[webkit-dev] A question about SubresourceLoader

Cameron Zwarich cwzwarich at webkit.org
Fri Dec 19 01:01:33 PST 2008


Why is SubresourceLoader::m_client a pointer, and why is it also null- 
checked? It is only set by its private constructor that is called  
from ::create(), which is always called from a SubresourceLoaderClient  
with 'this' as the client parameter. Shouldn't it just be a reference?  
Maybe I am missing something.

Cameron


More information about the webkit-dev mailing list