Skip to content
  • andersca@apple.com's avatar
    WebCore: · 369e6479
    andersca@apple.com authored
    2009-03-18  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Darin Adler.
    
            <rdar://problem/6504776> 
            CrashTracer: [USER] 188 crashes in Safari at com.apple.WebCore • WTF::HashTableIterator<WTF::RefPtr<WebCore::ResourceLoader>, ...
    
            Return early in case calling the client ends up spinning the run loop and completing/cancelling the load.
            
            * loader/NetscapePlugInStreamLoader.cpp:
            (WebCore::NetscapePlugInStreamLoader::didCancel):
    
    WebKit/mac:
    
    2009-03-18  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Darin Adler.
    
            <rdar://problem/6504776> 
            CrashTracer: [USER] 188 crashes in Safari at com.apple.WebCore • WTF::HashTableIterator<WTF::RefPtr<WebCore::ResourceLoader>, ...
            
            If the m_pluginView member was zeroed out as a result of making a call into the plug-in, the pluginFunctionCallDepth would be off
            causing the plug-in never to be stopped. Simplify the code by using a RAII object.
    
            * Plugins/WebBaseNetscapePluginStream.mm:
            (PluginStopDeferrer::PluginStopDeferrer):
            (PluginStopDeferrer::~PluginStopDeferrer):
            (WebNetscapePluginStream::startStream):
            (WebNetscapePluginStream::wantsAllStreams):
            (WebNetscapePluginStream::destroyStream):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    369e6479