Title: [104571] trunk/Source/WebCore
Revision
104571
Author
senorbla...@chromium.org
Date
2012-01-10 07:32:17 -0800 (Tue, 10 Jan 2012)

Log Message

Fix Chrome/Mac build.

Build fix; unreviewed.

* platform/graphics/filters/skia/FEColorMatrixSkia.cpp:
(WebCore::luminanceToAlphaMatrix):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (104570 => 104571)


--- trunk/Source/WebCore/ChangeLog	2012-01-10 15:25:20 UTC (rev 104570)
+++ trunk/Source/WebCore/ChangeLog	2012-01-10 15:32:17 UTC (rev 104571)
@@ -1,3 +1,12 @@
+2012-01-10  Stephen White  <senorbla...@chromium.org>
+
+        Fix Chrome/Mac build.
+
+        Build fix; unreviewed.
+
+        * platform/graphics/filters/skia/FEColorMatrixSkia.cpp:
+        (WebCore::luminanceToAlphaMatrix):
+
 2012-01-06  Stephen White  <senorbla...@chromium.org>
 
         [Skia] Switch FEColorMatrix to use a skia-based implementation when

Modified: trunk/Source/WebCore/platform/graphics/filters/skia/FEColorMatrixSkia.cpp (104570 => 104571)


--- trunk/Source/WebCore/platform/graphics/filters/skia/FEColorMatrixSkia.cpp	2012-01-10 15:25:20 UTC (rev 104570)
+++ trunk/Source/WebCore/platform/graphics/filters/skia/FEColorMatrixSkia.cpp	2012-01-10 15:32:17 UTC (rev 104571)
@@ -74,7 +74,7 @@
 
 static void luminanceToAlphaMatrix(SkScalar matrix[20])
 {
-    memset(matrix, 0, sizeof(matrix));
+    memset(matrix, 0, 20 * sizeof(SkScalar));
     matrix[15] = 0.2125f;
     matrix[16] = 0.7154f;
     matrix[17] = 0.0721f;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to