Title: [159081] trunk/Source/WebCore
Revision
159081
Author
[email protected]
Date
2013-11-11 16:33:24 -0800 (Mon, 11 Nov 2013)

Log Message

[Win] m_isCompositeFontReference is uninitialized.
https://bugs.webkit.org/show_bug.cgi?id=124170

Reviewed by Tim Horton.

Initialize value to false, as is done in the other constructors for this data type.

* platform/graphics/win/FontPlatformDataCGWin.cpp:
(WebCore::FontPlatformData::FontPlatformData):
* platform/graphics/win/FontPlatformDataCairoWin.cpp:
(WebCore::FontPlatformData::FontPlatformData):
* platform/graphics/win/FontPlatformDataWin.cpp:
(WebCore::FontPlatformData::FontPlatformData):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (159080 => 159081)


--- trunk/Source/WebCore/ChangeLog	2013-11-12 00:21:18 UTC (rev 159080)
+++ trunk/Source/WebCore/ChangeLog	2013-11-12 00:33:24 UTC (rev 159081)
@@ -1,3 +1,19 @@
+2013-11-11  Brent Fulgham  <[email protected]>
+
+        [Win] m_isCompositeFontReference is uninitialized.
+        https://bugs.webkit.org/show_bug.cgi?id=124170
+
+        Reviewed by Tim Horton.
+
+        Initialize value to false, as is done in the other constructors for this data type.
+
+        * platform/graphics/win/FontPlatformDataCGWin.cpp:
+        (WebCore::FontPlatformData::FontPlatformData): 
+        * platform/graphics/win/FontPlatformDataCairoWin.cpp:
+        (WebCore::FontPlatformData::FontPlatformData):
+        * platform/graphics/win/FontPlatformDataWin.cpp:
+        (WebCore::FontPlatformData::FontPlatformData):
+
 2013-11-11  Myles C. Maxfield  <[email protected]>
 
         [Mac] Characters too close together in complex Arabic text

Modified: trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCGWin.cpp (159080 => 159081)


--- trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCGWin.cpp	2013-11-12 00:21:18 UTC (rev 159080)
+++ trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCGWin.cpp	2013-11-12 00:33:24 UTC (rev 159081)
@@ -124,6 +124,7 @@
     , m_font(SharedGDIObject<HFONT>::create(std::move(hfont)))
     , m_cgFont(font)
     , m_isColorBitmapFont(false)
+    , m_isCompositeFontReference(false)
     , m_useGDI(useGDI)
 {
 }

Modified: trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp (159080 => 159081)


--- trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp	2013-11-12 00:21:18 UTC (rev 159080)
+++ trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp	2013-11-12 00:33:24 UTC (rev 159081)
@@ -62,6 +62,7 @@
     , m_orientation(Horizontal)
     , m_widthVariant(RegularWidth)
     , m_scaledFont(0)
+    , m_isCompositeFontReference(false)
     , m_isColorBitmapFont(false)
     , m_syntheticBold(bold)
     , m_syntheticOblique(oblique)

Modified: trunk/Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp (159080 => 159081)


--- trunk/Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp	2013-11-12 00:21:18 UTC (rev 159080)
+++ trunk/Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp	2013-11-12 00:33:24 UTC (rev 159081)
@@ -48,6 +48,7 @@
     , m_scaledFont(0)
 #endif
     , m_isColorBitmapFont(false)
+    , m_isCompositeFontReference(false)
     , m_syntheticBold(bold)
     , m_syntheticOblique(oblique)
     , m_useGDI(useGDI)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to