<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lrn1986&#64;gmail.com" title="LRN &lt;lrn1986&#64;gmail.com&gt;"> <span class="fn">LRN</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebCore uses M_PI_2 instead of piOverTwoDouble"
   href="https://bugs.webkit.org/show_bug.cgi?id=143758">bug 143758</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #250803 Flags</td>
           <td>
               &nbsp;
           </td>
           <td>review?
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebCore uses M_PI_2 instead of piOverTwoDouble"
   href="https://bugs.webkit.org/show_bug.cgi?id=143758#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WebCore uses M_PI_2 instead of piOverTwoDouble"
   href="https://bugs.webkit.org/show_bug.cgi?id=143758">bug 143758</a>
              from <span class="vcard"><a class="email" href="mailto:lrn1986&#64;gmail.com" title="LRN &lt;lrn1986&#64;gmail.com&gt;"> <span class="fn">LRN</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=250803&amp;action=diff" name="attach_250803" title="Use piOverTwoDouble instead of M_PI_2">attachment 250803</a> <a href="attachment.cgi?id=250803&amp;action=edit" title="Use piOverTwoDouble instead of M_PI_2">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>