Commit f4723a1a authored by andersca@apple.com's avatar andersca@apple.com

2008-05-28 Anders Carlsson <andersca@apple.com>

        Reviewed by Jon.

        Remove workaround, this is no longer a problem.
        
        * WebView/WebView.mm:
        (-[WebView _removeObjectForIdentifier:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 84054151
2008-05-28 Anders Carlsson <andersca@apple.com>
Reviewed by Jon.
Remove workaround, this is no longer a problem.
* WebView/WebView.mm:
(-[WebView _removeObjectForIdentifier:]):
2008-05-27 Geoffrey Garen <ggaren@apple.com>
Reviewed by Tim Hatcher.
......
......@@ -4420,14 +4420,8 @@ static NSString *createMacOSXVersionString()
- (void)_removeObjectForIdentifier:(unsigned long)identifier
{
HashMap<unsigned long, RetainPtr<id> >::iterator it = _private->identifierMap->find(identifier);
// FIXME: This is currently needed because of a bug that causes didFail to be sent twice
// sometimes, see <rdar://problem/5009627> for more information.
if (it == _private->identifierMap->end())
return;
_private->identifierMap->remove(it);
ASSERT(_private->identifierMap->contains(identifier));
_private->identifierMap->remove(identifier);
// If the identifier map is now empty it means we're no longer loading anything
// and we should release the web view.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment