<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GStreamer] use FastMalloc-based GstAllocator"
   href="https://bugs.webkit.org/show_bug.cgi?id=165793#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GStreamer] use FastMalloc-based GstAllocator"
   href="https://bugs.webkit.org/show_bug.cgi?id=165793">bug 165793</a>
              from <span class="vcard"><a class="email" href="mailto:zan&#64;falconsigh.net" title="Zan Dobersek &lt;zan&#64;falconsigh.net&gt;"> <span class="fn">Zan Dobersek</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=296994&amp;action=diff" name="attach_296994" title="WIP">attachment 296994</a> <a href="attachment.cgi?id=296994&amp;action=edit" title="WIP">[details]</a></span>
WIP

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=296994&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=296994&amp;action=review</a>

<span class="quote">&gt;&gt; Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp:161
&gt;&gt; +        fprintf(stderr, &quot;initializeGStreamer(): using FastMalloc allocator %p\n&quot;, allocator);
&gt; 
&gt; I would GST_INFO this, though it would require to add a debug category for this.</span >

It's a debugging leftover, can be removed.

<span class="quote">&gt;&gt; Source/WebCore/platform/graphics/gstreamer/GstAllocatorFastMalloc.cpp:36
&gt;&gt; +    auto* mem = reinterpret_cast&lt;GstMemoryFastMalloc*&gt;(fastAlignedMalloc(alignment + 1, headerSize + allocationSize));
&gt; 
&gt; I prefer typed things when they are non-trivial, which IMHO is  the case.</span >

This is typed like anything else, but it removes the duplicated information.

Also, static_cast&lt;&gt; can be used.</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>