[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 06:51:31 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 73a9fa8dbe89666489595717b0ecb8870d36b5d8
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Oct 20 23:54:52 2002 +0000

    	- fixed a minor problem with autorelease I just ran into
    
            * WebView.subproj/WebHTMLViewPrivate.m: (+[WebHTMLView load]):
    	Create an autorelease pool for the benefit of the class initialize
    	functions that will be called.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2384 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 2c1ad1b..42920d8 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,11 @@
+2002-10-20  Darin Adler  <darin at apple.com>
+
+	- fixed a minor problem with autorelease I just ran into
+
+        * WebView.subproj/WebHTMLViewPrivate.m: (+[WebHTMLView load]):
+	Create an autorelease pool for the benefit of the class initialize
+	functions that will be called.
+
 2002-10-20  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed 3050010: Should show contextual menu for WebImageView
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 2c1ad1b..42920d8 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,11 @@
+2002-10-20  Darin Adler  <darin at apple.com>
+
+	- fixed a minor problem with autorelease I just ran into
+
+        * WebView.subproj/WebHTMLViewPrivate.m: (+[WebHTMLView load]):
+	Create an autorelease pool for the benefit of the class initialize
+	functions that will be called.
+
 2002-10-20  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed 3050010: Should show contextual menu for WebImageView
diff --git a/WebKit/WebView.subproj/WebHTMLViewPrivate.m b/WebKit/WebView.subproj/WebHTMLViewPrivate.m
index d5c0552..a6ffebb 100644
--- a/WebKit/WebView.subproj/WebHTMLViewPrivate.m
+++ b/WebKit/WebView.subproj/WebHTMLViewPrivate.m
@@ -62,12 +62,14 @@
 
 @implementation WebHTMLView (WebPrivate)
 
-// Danger Will Robinson.  We have to poseAsClass: as early as possible
+// Danger Will Robinson. We have to poseAsClass: as early as possible
 // so that any NSViews will be created with the appropriate poser.
 + (void)load
 {
-    [[WebNSTextView class] poseAsClass:[NSTextView class]];
+    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
     [[WebNSView class] poseAsClass:[NSView class]];
+    [[WebNSTextView class] poseAsClass:[NSTextView class]];
+    [pool release];
 }
 
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list