[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:11:25 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit e400b45150ce540b0c7af6c3bc600ce32f60285e
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue May 7 23:36:19 2002 +0000

    	* kwq/KWQFontMetrics.mm: Fixed storage leak by initializing refCount.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1107 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index d95cf8e..27b6265 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,5 +1,9 @@
 2002-05-07  Darin Adler  <darin at apple.com>
 
+	* kwq/KWQFontMetrics.mm: Fixed storage leak by initializing refCount.
+
+2002-05-07  Darin Adler  <darin at apple.com>
+
 	Move more plugin code into WebKit.
 
 	Stop using IF for anything in WebCore to help make it clear what's part of
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index d95cf8e..27b6265 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,9 @@
 2002-05-07  Darin Adler  <darin at apple.com>
 
+	* kwq/KWQFontMetrics.mm: Fixed storage leak by initializing refCount.
+
+2002-05-07  Darin Adler  <darin at apple.com>
+
 	Move more plugin code into WebKit.
 
 	Stop using IF for anything in WebCore to help make it clear what's part of
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index d95cf8e..27b6265 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,9 @@
 2002-05-07  Darin Adler  <darin at apple.com>
 
+	* kwq/KWQFontMetrics.mm: Fixed storage leak by initializing refCount.
+
+2002-05-07  Darin Adler  <darin at apple.com>
+
 	Move more plugin code into WebKit.
 
 	Stop using IF for anything in WebCore to help make it clear what's part of
diff --git a/WebCore/kwq/KWQFontMetrics.mm b/WebCore/kwq/KWQFontMetrics.mm
index 902028b..9614962 100644
--- a/WebCore/kwq/KWQFontMetrics.mm
+++ b/WebCore/kwq/KWQFontMetrics.mm
@@ -36,6 +36,7 @@ struct QFontMetricsPrivate
 {
     QFontMetricsPrivate(const QFont &font)
     {
+        refCount = 0;
         renderer = [[[WebCoreTextRendererFactory sharedFactory] rendererWithFamily:font.getNSFamily() traits:font.getNSTraits() size:font.getNSSize()] retain];
     }
     ~QFontMetricsPrivate()
@@ -51,6 +52,9 @@ struct QFontMetricsPrivate
     
 private:
     id <WebCoreTextRenderer> renderer;
+    
+    QFontMetricsPrivate(const QFontMetricsPrivate&);
+    QFontMetricsPrivate& operator=(const QFontMetricsPrivate&);
 };
 
 QFontMetrics::QFontMetrics()

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list