<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:darin&#64;apple.com" title="Darin Adler &lt;darin&#64;apple.com&gt;"> <span class="fn">Darin Adler</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Menu list button doesn't use the text color from the theme"
   href="https://bugs.webkit.org/show_bug.cgi?id=118234">bug 118234</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 #276473 Flags</td>
           <td>review?
           </td>
           <td>review+
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Menu list button doesn't use the text color from the theme"
   href="https://bugs.webkit.org/show_bug.cgi?id=118234#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Menu list button doesn't use the text color from the theme"
   href="https://bugs.webkit.org/show_bug.cgi?id=118234">bug 118234</a>
              from <span class="vcard"><a class="email" href="mailto:darin&#64;apple.com" title="Darin Adler &lt;darin&#64;apple.com&gt;"> <span class="fn">Darin Adler</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=276473&amp;action=diff" name="attach_276473" title="Patch">attachment 276473</a> <a href="attachment.cgi?id=276473&amp;action=edit" title="Patch">[details]</a></span>
Patch

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

<span class="quote">&gt; Source/WebCore/rendering/RenderThemeGtk.cpp:776
&gt; +#if GTK_CHECK_VERSION(3, 20, 0)</span >

Seems slightly nicer to put the #if inside the function since there is no difference in the arguments type or usage.

<span class="quote">&gt; Source/WebCore/rendering/RenderThemeGtk.cpp:779
&gt; +    RenderThemeGadget::Info info = { RenderThemeGadget::Type::Generic, &quot;combobox&quot;, element-&gt;isDisabledFormControl() ? GTK_STATE_FLAG_INSENSITIVE : GTK_STATE_FLAG_NORMAL, { } };</span >

I believe there is no need for the &quot;=&quot; here.

<span class="quote">&gt; Source/WebCore/rendering/RenderThemeGtk.cpp:781
&gt; +    Vector&lt;RenderThemeGadget::Info&gt; children = {</span >

I believe there is no need for the &quot;=&quot; here.

<span class="quote">&gt; Source/WebCore/rendering/RenderThemeGtk.cpp:786
&gt; +    return std::make_unique&lt;RenderThemeBoxGadget&gt;(info, children, comboGadget.get())-&gt;child(0)-&gt;color();</span >

Why does this need to be constructed on the heap with make_unique instead of just constructing it on the stack?

    return RenderThemeBoxGadget(info, children, comboGadget.get()).child(0)-&gt;color();</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>