<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [iOS] Apps using WKWebView will crash if they set the scroll view's delegate and don't nil it out later"
   href="https://bugs.webkit.org/show_bug.cgi?id=159980#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [iOS] Apps using WKWebView will crash if they set the scroll view's delegate and don't nil it out later"
   href="https://bugs.webkit.org/show_bug.cgi?id=159980">bug 159980</a>
              from <span class="vcard"><a class="email" href="mailto:cpugh&#64;apple.com" title="Chelsea Pugh &lt;cpugh&#64;apple.com&gt;"> <span class="fn">Chelsea Pugh</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=159980#c6">comment #6</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=284260&amp;action=diff" name="attach_284260" title="v2 patch for [iOS] Apps using WKWebView will crash">attachment 284260</a> <a href="attachment.cgi?id=284260&amp;action=edit" title="v2 patch for [iOS] Apps using WKWebView will crash">[details]</a></span>
&gt; v2 patch for [iOS] Apps using WKWebView will crash
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=284260&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=284260&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebKit2/UIProcess/ios/WKScrollView.mm:47
&gt; &gt; +    WebKit::WeakObjCPtr&lt;id &lt;UIScrollViewDelegate&gt;&gt; _externalDelegate;
&gt; 
&gt; I think you can add “using namespace WebKit” to this file and avoid the
&gt; WebKit:: qualifier here and elsewhere.</span >

Will do

<span class="quote">&gt; 
&gt; &gt; Source/WebKit2/UIProcess/ios/WKScrollView.mm:74
&gt; &gt; +    auto externalDelegate = _externalDelegate.get();
&gt; &gt; +    return [super respondsToSelector:aSelector] || [_internalDelegate respondsToSelector:aSelector] || [externalDelegate.get() respondsToSelector:aSelector];
&gt; 
&gt; Since you’re only using the external delegate once you don’t really have to
&gt; have this local.</span >

Okay

<span class="quote">&gt; 
&gt; &gt; Source/WebKit2/UIProcess/ios/WKScrollView.mm:140
&gt; &gt; +    if (_externalDelegate.get().get() == delegate)
&gt; 
&gt; Yikes! I wonder if we should add a == override to WeakObjCPtr.</span >

Maybe, but likely out of scope for this patch</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>