Title: [163348] trunk/Source/WebCore
Revision
163348
Author
commit-qu...@webkit.org
Date
2014-02-03 17:07:00 -0800 (Mon, 03 Feb 2014)

Log Message

[Cairo] GraphicsContext::m_pixelSnappingFactor is uninitialized
https://bugs.webkit.org/show_bug.cgi?id=128102

Patch by Hunseop Jeong <hs85.je...@samsung.com> on 2014-02-03
Reviewed by Csaba Osztrogonác.

Initalize m_pixelSnappingFactor to 1

* platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::GraphicsContext): Initialized pixelSnappingFactor to 1 and
fixed the coding style violation.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (163347 => 163348)


--- trunk/Source/WebCore/ChangeLog	2014-02-04 01:03:38 UTC (rev 163347)
+++ trunk/Source/WebCore/ChangeLog	2014-02-04 01:07:00 UTC (rev 163348)
@@ -1,3 +1,16 @@
+2014-02-03  Hunseop Jeong  <hs85.je...@samsung.com>
+
+        [Cairo] GraphicsContext::m_pixelSnappingFactor is uninitialized
+        https://bugs.webkit.org/show_bug.cgi?id=128102
+
+        Reviewed by Csaba Osztrogonác.
+
+        Initalize m_pixelSnappingFactor to 1
+
+        * platform/graphics/cairo/GraphicsContextCairo.cpp:
+        (WebCore::GraphicsContext::GraphicsContext): Initialized pixelSnappingFactor to 1 and 
+        fixed the coding style violation.
+
 2014-02-03  Brian Burg  <bb...@apple.com>
 
         Web Replay: upstream base input classes and the input cursor interface

Modified: trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp (163347 => 163348)


--- trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp	2014-02-04 01:03:38 UTC (rev 163347)
+++ trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp	2014-02-04 01:07:00 UTC (rev 163348)
@@ -175,8 +175,9 @@
 }
 
 GraphicsContext::GraphicsContext(cairo_t* cr)
-    : m_updatingControlTints(false),
-      m_transparencyCount(0)
+    : m_updatingControlTints(false)
+    , m_transparencyCount(0)
+    , m_pixelSnappingFactor(1)
 {
     m_data = new GraphicsContextPlatformPrivateToplevel(new PlatformContextCairo(cr));
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to