[webkit-dev] A question about SubresourceLoader

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

On 19-Dec-08, at 1:01 AM, Cameron Zwarich wrote:

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

Oops. I guess I am a bit tired. I forgot about the clearClient()  
method in the header when doing my search.


More information about the webkit-dev mailing list