[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

weinig at apple.com weinig at apple.com
Wed Dec 22 11:11:41 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit fab9bc15156eceae40c5ad5355f364282dd42ea2
Author: weinig at apple.com <weinig at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jul 14 22:21:06 2010 +0000

    Fix crashing layout test on snowleopard.
    
    Reviewed by Brady Eidson.
    
    * platform/mac/CursorMac.mm:
    (WebCore::Cursor::ensurePlatformCursor): Make sure to retain the cursor.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63361 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 63d59bb..a74140c 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,12 @@
+2010-07-14  Sam Weinig  <sam at webkit.org>
+
+        Reviewed by Brady Eidson.
+
+        Fix crashing layout test on snowleopard.
+
+        * platform/mac/CursorMac.mm:
+        (WebCore::Cursor::ensurePlatformCursor): Make sure to retain the cursor.
+
 2010-07-14  Chris Fleizach  <cfleizach at apple.com>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/platform/mac/CursorMac.mm b/WebCore/platform/mac/CursorMac.mm
index 1b985c5..1b4c1b1 100644
--- a/WebCore/platform/mac/CursorMac.mm
+++ b/WebCore/platform/mac/CursorMac.mm
@@ -147,10 +147,10 @@ void Cursor::ensurePlatformCursor() const
         m_platformCursor = HardRetain(leakNamedCursor("northWestSouthEastResizeCursor", 7, 7));
         break;
     case Cursor::ColumnResize:
-        m_platformCursor = [NSCursor resizeLeftRightCursor];
+        m_platformCursor = HardRetain([NSCursor resizeLeftRightCursor]);
         break;
     case Cursor::RowResize:
-        m_platformCursor = [NSCursor resizeUpDownCursor];
+        m_platformCursor = HardRetain([NSCursor resizeUpDownCursor]);
         break;
     case Cursor::VerticalText:
         m_platformCursor = HardRetain(leakNamedCursor("verticalTextCursor", 7, 7));

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list