Title: [108871] trunk/Source/WebCore
Revision
108871
Author
[email protected]
Date
2012-02-24 16:54:07 -0800 (Fri, 24 Feb 2012)

Log Message

Fix uninitialized variables in HarfBuzzShaperBase
https://bugs.webkit.org/show_bug.cgi?id=79546

Reviewed by Dirk Pranke.

These were introduced in r108733.

* platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp:
(WebCore::HarfBuzzShaperBase::HarfBuzzShaperBase):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108870 => 108871)


--- trunk/Source/WebCore/ChangeLog	2012-02-25 00:49:47 UTC (rev 108870)
+++ trunk/Source/WebCore/ChangeLog	2012-02-25 00:54:07 UTC (rev 108871)
@@ -1,3 +1,15 @@
+2012-02-24  Adrienne Walker  <[email protected]>
+
+        Fix uninitialized variables in HarfBuzzShaperBase
+        https://bugs.webkit.org/show_bug.cgi?id=79546
+
+        Reviewed by Dirk Pranke.
+
+        These were introduced in r108733.
+
+        * platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp:
+        (WebCore::HarfBuzzShaperBase::HarfBuzzShaperBase):
+
 2012-02-24  Noel Gordon  <[email protected]>
 
         [chromium] JPEG RGB image with Adode Marker fails to turbo swizzle decode

Modified: trunk/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp (108870 => 108871)


--- trunk/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp	2012-02-25 00:49:47 UTC (rev 108870)
+++ trunk/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp	2012-02-25 00:54:07 UTC (rev 108871)
@@ -42,8 +42,12 @@
 
 HarfBuzzShaperBase::HarfBuzzShaperBase(const Font* font, const TextRun& run)
     : m_font(font)
+    , m_normalizedBufferLength(0)
     , m_run(run)
     , m_wordSpacingAdjustment(font->wordSpacing())
+    , m_padding(0)
+    , m_padPerWordBreak(0)
+    , m_padError(0)
     , m_letterSpacing(font->letterSpacing())
 {
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to