<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Session: add a focus manager that WebKit clients can use to access the focused media element"
   href="https://bugs.webkit.org/show_bug.cgi?id=147629#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Media Session: add a focus manager that WebKit clients can use to access the focused media element"
   href="https://bugs.webkit.org/show_bug.cgi?id=147629">bug 147629</a>
              from <span class="vcard"><a class="email" href="mailto:mrajca&#64;apple.com" title="Matt Rajca &lt;mrajca&#64;apple.com&gt;"> <span class="fn">Matt Rajca</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=147629#c7">comment #7</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=258191&amp;action=diff" name="attach_258191" title="Patch">attachment 258191</a> <a href="attachment.cgi?id=258191&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=258191&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=258191&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebKit2/UIProcess/WebMediaSessionFocusManager.cpp:67
&gt; &gt; +    ASSERT(proxy);
&gt; 
&gt; No real need for this assert if you're just going to go ahead and
&gt; dereference the null pointer two lines away.</span >

Removed.

<span class="quote">&gt; 
&gt; &gt; Source/WebKit2/UIProcess/WebMediaSessionFocusManager.h:38
&gt; &gt; +typedef std::tuple&lt;WebPageProxy*, uint64_t&gt; FocusedMediaElement;
&gt; 
&gt; might be clearer if this is a std::pair? then you don't have the fairly
&gt; surprising std::get in the impl. Unless you're planning to add more
&gt; components.</span >

Switched to std::pair. Much cleaner.

<span class="quote">&gt; 
&gt; &gt; Source/WebKit2/UIProcess/WebMediaSessionFocusManager.h:40
&gt; &gt; +class WebMediaSessionFocusManager: public API::ObjectImpl&lt;API::Object::Type::MediaSessionFocusManager&gt;, public WebContextSupplement {
&gt; 
&gt; space before the colon</span >

Added.

<span class="quote">&gt; 
&gt; &gt; Source/WebKit2/WebKit2.xcodeproj/project.pbxproj:-7626
&gt; &gt; -                                15739BBD1B42042D00D258C1 /* WebUserMediaClient.h in Headers */,
&gt; 
&gt; This patch is doing a surprising about of xcodeproj reordering.</span >

I just ran sort-xcode-project.</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>