- build fix (also a fix for a crasher I forgot to commit before)
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Oct 2006 02:43:55 +0000 (02:43 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Oct 2006 02:43:55 +0000 (02:43 +0000)
        * Loader/WebFrameLoader.m: Added some missing includes.
        (-[WebFrameLoader checkLoadCompleteForThisFrame]):
        Added a needed retain/release.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16905 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/Loader/WebFrameLoader.m

index 6e9cb5449bca537d99e60d250d5cd062a7d8b0fa..cf2ba8ae2af0218d1aff56f1a170f755ae4b83d2 100644 (file)
@@ -1,3 +1,11 @@
+2006-10-08  Darin Adler  <darin@apple.com>
+
+        - build fix (also a fix for a crasher I forgot to commit before)
+
+        * Loader/WebFrameLoader.m: Added some missing includes.
+        (-[WebFrameLoader checkLoadCompleteForThisFrame]):
+        Added a needed retain/release.
+
 2006-10-08  Darin Adler  <darin@apple.com>
 
         Reviewed by Anders.
index eff248b8add7fbb7a47bcf7c381036555661fc87..5a99798fcc31ed9ae830aabc209fd8c37621fb51 100644 (file)
@@ -41,6 +41,7 @@
 #import "WebDefaultUIDelegate.h"
 #import "WebDocumentLoaderMac.h"
 #import "WebDownloadInternal.h"
+#import "WebFormDataStream.h"
 #import "WebFrameInternal.h"
 #import "WebFrameLoadDelegate.h"
 #import "WebHistory.h"
@@ -49,7 +50,7 @@
 #import "WebKitLogging.h"
 #import "WebKitNSStringExtras.h"
 #import "WebNSURLExtras.h"
-#import "WebResourceLoadDelegate.h"
+#import "WebNSURLRequestExtras.h"
 #import "WebResourceLoadDelegate.h"
 #import "WebResourcePrivate.h"
 #import "WebDefaultResourceLoadDelegate.h"
@@ -1788,7 +1789,7 @@ keepGoing:
             if (delegateIsHandlingProvisionalLoadError)
                 return;
 
-            WebDataSource *pd = [self provisionalDataSource];
+            WebDataSource *pd = [[self provisionalDataSource] retain];
 
             LOG(Loading, "%@:  checking complete in WebFrameStateProvisional", [client name]);
             // If we've received any errors we may be stuck in the provisional state and actually complete.
@@ -1830,6 +1831,7 @@ keepGoing:
                 else
                     [client _doNotResetAfterLoadError:resetToken];
             }
+            [pd release];
             return;
         }