Commit 7e2db9e7 authored by andersca's avatar andersca
Browse files

Fix segmentation fault when running layout tests.

        Remove bogus check that that I added on purpose to see how good Geoff is at spotting mistakes when reviewing code.
        (Turns out he's not that good!)
        
        * WebView/WebDocumentLoaderMac.mm:
        (WebDocumentLoaderMac::increaseLoadCount):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e78f0bcc
2007-03-14 Anders Carlsson <acarlsson@apple.com>
Fix segmentation fault when running layout tests.
Remove bogus check that that I added on purpose to see how good Geoff is at spotting mistakes when reviewing code.
(Turns out he's not that good!)
* WebView/WebDocumentLoaderMac.mm:
(WebDocumentLoaderMac::increaseLoadCount):
2007-03-14 Anders Carlsson <acarlsson@apple.com>
 
Reviewed by Geoff.
......
......@@ -77,7 +77,7 @@ void WebDocumentLoaderMac::increaseLoadCount(unsigned long identifier)
if (m_loadingResources.contains(identifier))
return;
if (m_loadingResources.isEmpty() == 0)
if (m_loadingResources.isEmpty())
HardRetain(m_dataSource);
m_loadingResources.add(identifier);
......
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