Title: [171989] trunk/Source/WebCore
Revision
171989
Author
[email protected]
Date
2014-08-04 01:47:50 -0700 (Mon, 04 Aug 2014)

Log Message

[WinCairo] Compile error in OpenTypeMathData.cpp.
https://bugs.webkit.org/show_bug.cgi?id=135541

Patch by [email protected] <[email protected]> on 2014-08-04
Reviewed by Brent Fulgham.

The SharedBuffer class needs to be defined.
Also, the OpenTypeMathData constructor should be implemented when OPENTYPE_MATH is not enabled.

* platform/graphics/opentype/OpenTypeMathData.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (171988 => 171989)


--- trunk/Source/WebCore/ChangeLog	2014-08-04 07:17:55 UTC (rev 171988)
+++ trunk/Source/WebCore/ChangeLog	2014-08-04 08:47:50 UTC (rev 171989)
@@ -1,3 +1,15 @@
+2014-08-04  [email protected]  <[email protected]>
+
+        [WinCairo] Compile error in OpenTypeMathData.cpp.
+        https://bugs.webkit.org/show_bug.cgi?id=135541
+
+        Reviewed by Brent Fulgham.
+
+        The SharedBuffer class needs to be defined.
+        Also, the OpenTypeMathData constructor should be implemented when OPENTYPE_MATH is not enabled.
+
+        * platform/graphics/opentype/OpenTypeMathData.cpp:
+
 2014-08-03  Dan Bernstein  <[email protected]>
 
         <rdar://problem/17782529> REGRESSION: OS marketing version in iOS Simulator user-agent string is the host OS’s

Modified: trunk/Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp (171988 => 171989)


--- trunk/Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp	2014-08-04 07:17:55 UTC (rev 171988)
+++ trunk/Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp	2014-08-04 08:47:50 UTC (rev 171989)
@@ -30,6 +30,7 @@
 #if ENABLE(OPENTYPE_MATH)
 #include "OpenTypeTypes.h"
 #endif
+#include "SharedBuffer.h"
 #include "SimpleFontData.h"
 
 using namespace std;
@@ -259,11 +260,11 @@
 #endif
 }
 
-#if ENABLE(OPENTYPE_MATH)
 OpenTypeMathData::~OpenTypeMathData()
 {
 }
 
+#if ENABLE(OPENTYPE_MATH)
 float OpenTypeMathData::getMathConstant(const SimpleFontData* font, MathConstant constant) const
 {
     int32_t value = 0;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to