[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:12:01 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 4d74be946255f58f13b5cf7ebc71a308f9185c0a
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Dec 6 01:44:17 2002 +0000

            Reviewed by Richard.
    
    	- fixed 3107240 -- world leak: reproducible, trying to open TIFF file
    
            * WebView.subproj/WebMainResourceClient.m:
            (-[WebMainResourceClient notifyDelegatesOfInterruptionByPolicyChange]):
    	Send error to the delegate using receivedError: rather than directly.
    	This results in the frame properly stopping the load and fixes the leak.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2952 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 7601eb8..72c637c 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,16 @@
 2002-12-05  Darin Adler  <darin at apple.com>
 
+        Reviewed by Richard.
+
+	- fixed 3107240 -- world leak: reproducible, trying to open TIFF file
+
+        * WebView.subproj/WebMainResourceClient.m:
+        (-[WebMainResourceClient notifyDelegatesOfInterruptionByPolicyChange]):
+	Send error to the delegate using receivedError: rather than directly.
+	This results in the frame properly stopping the load and fixes the leak.
+
+2002-12-05  Darin Adler  <darin at apple.com>
+
         Reviewed by Chris.
 
         * Downloads.subproj/WebDownloadHandler.m: (-[WebDownloadHandler initWithDataSource:]):
diff --git a/WebKit/WebView.subproj/WebMainResourceClient.m b/WebKit/WebView.subproj/WebMainResourceClient.m
index 8bcae94..d64552c 100644
--- a/WebKit/WebView.subproj/WebMainResourceClient.m
+++ b/WebKit/WebView.subproj/WebMainResourceClient.m
@@ -144,7 +144,8 @@
 {
     // Terminate the locationChangeDelegate correctly.
     WebError *interruptError = [WebError errorWithCode:WebErrorLocationChangeInterruptedByPolicyChange inDomain:WebErrorDomainWebKit failingURL:nil];
-    [[[dataSource controller] locationChangeDelegate] locationChangeDone:interruptError forDataSource:dataSource];
+    
+    [self receivedError:interruptError];
 
     [super notifyDelegatesOfInterruptionByPolicyChange];
 }
diff --git a/WebKit/WebView.subproj/WebMainResourceLoader.m b/WebKit/WebView.subproj/WebMainResourceLoader.m
index 8bcae94..d64552c 100644
--- a/WebKit/WebView.subproj/WebMainResourceLoader.m
+++ b/WebKit/WebView.subproj/WebMainResourceLoader.m
@@ -144,7 +144,8 @@
 {
     // Terminate the locationChangeDelegate correctly.
     WebError *interruptError = [WebError errorWithCode:WebErrorLocationChangeInterruptedByPolicyChange inDomain:WebErrorDomainWebKit failingURL:nil];
-    [[[dataSource controller] locationChangeDelegate] locationChangeDone:interruptError forDataSource:dataSource];
+    
+    [self receivedError:interruptError];
 
     [super notifyDelegatesOfInterruptionByPolicyChange];
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list