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

mitz at apple.com mitz at apple.com
Wed Dec 22 11:50:49 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 9b39b5d4fc32c6a402173b4438312d28070903f5
Author: mitz at apple.com <mitz at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Aug 9 21:29:59 2010 +0000

    Fixed an uninitialized member variable in the Color(CGColorRef) constructor.
    
    Reviewed by Simon Fraser.
    
    * platform/graphics/cg/ColorCG.cpp:
    (WebCore::Color::Color): Initialize m_valid to true if the color is not 0.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 4adec2a..51048f7 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,12 @@
+2010-08-09  Dan Bernstein  <mitz at apple.com>
+
+        Reviewed by Simon Fraser.
+
+        Fixed an uninitialized member variable in the Color(CGColorRef) constructor.
+
+        * platform/graphics/cg/ColorCG.cpp:
+        (WebCore::Color::Color): Initialize m_valid to true if the color is not 0.
+
 2010-08-09  James Robinson  <jamesr at chromium.org>
 
         Chromium compile fix, unreviewed.
diff --git a/WebCore/platform/graphics/cg/ColorCG.cpp b/WebCore/platform/graphics/cg/ColorCG.cpp
index 9257642..6f05c38 100644
--- a/WebCore/platform/graphics/cg/ColorCG.cpp
+++ b/WebCore/platform/graphics/cg/ColorCG.cpp
@@ -66,6 +66,7 @@ Color::Color(CGColorRef color)
     }
 
     m_color = makeRGBA(r * 255, g * 255, b * 255, a * 255);
+    m_valid = true;
 }
 
 #if OS(WINDOWS)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list