[Webkit-unassigned] [Bug 143758] WebCore uses M_PI_2 instead of piOverTwoDouble

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 09:50:27 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=143758

LRN <lrn1986 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #250803|                            |review?
              Flags|                            |

--- Comment #1 from LRN <lrn1986 at gmail.com> ---
Created attachment 250803
  --> https://bugs.webkit.org/attachment.cgi?id=250803&action=review
Use piOverTwoDouble instead of M_PI_2

Because M_PI_2 is not defined everywhere.
Fixes errors like:
  CXX      Source/WebCore/platform/graphics/freetype/libPlatformGtk_la-FontPlatformDataFreeType.lo
../webkitgtk-2.4.8/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp: In function 'void WebCore::rotateCairoMatrixForVerticalOrientation(cairo_matrix_t*)':
../webkitgtk-2.4.8/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp:123:34: error: 'M_PI_2' was not declared in this scope
     cairo_matrix_rotate(matrix, -M_PI_2);
                                  ^
GNUmakefile:51663: recipe for target 'Source/WebCore/platform/graphics/freetype/libPlatformGtk_la-FontPlatformDataFreeType.lo' failed

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150415/27775283/attachment.html>


More information about the webkit-unassigned mailing list