Skip to content
  • darin's avatar
    - fixed 3083982 -- Logging into AOL gives null view, crash · ae96c6c8
    darin authored
    	I fixed the crash part. Not the "gives null view" part.
    	The key was to disentangle the references and lifetimes of the transfer job class,
    	and the resource loader object that KWQ uses to connect it with WebKit.
    
            * kwq/KWQKJobClasses.h: Change the job to keep a loader reference, not a
    	handle reference. The job needs to inform the loader when it's being deallocated.
            * kwq/KWQKJobClasses.mm: Use jobWillBeDeallocated instead of cancel when the
    	job is deallocated.
    
            * kwq/KWQLoader.mm: (KWQServeRequest): Use KWQResourceLoader, now with a home in
    	a separate file.
    
            * kwq/KWQResourceLoader.h: Added.
            * kwq/KWQResourceLoader.mm: Added.
            * WebCore.pbproj/project.pbxproj: Added KWQResourceLoader files.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ae96c6c8