<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Animated images should animate in previews"
   href="https://bugs.webkit.org/show_bug.cgi?id=147173#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Animated images should animate in previews"
   href="https://bugs.webkit.org/show_bug.cgi?id=147173">bug 147173</a>
              from <span class="vcard"><a class="email" href="mailto:bdakin&#64;apple.com" title="Beth Dakin &lt;bdakin&#64;apple.com&gt;"> <span class="fn">Beth Dakin</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=147173#c2">comment #2</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=257219&amp;action=diff" name="attach_257219" title="Patch">attachment 257219</a> <a href="attachment.cgi?id=257219&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=257219&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=257219&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegatePrivate.h:69
&gt; &gt; +- (UIViewController *)_webView:(WKWebView *)webView previewViewControllerForAnimatedImageAtURL:(NSURL *)url defaultActions:(NSArray *)actions elementInfo:(_WKActivatedElementInfo *)elementInfo imageSize:(CGSize)imageSize WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
&gt; 
&gt; This (and some of the earlier-added) NSArray * argument should be a
&gt; WK_ARRAY() of the appropriate type.
&gt; </span >

Fixed this and the earlier-added arguments!

<span class="quote">&gt; &gt; Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:3288
&gt; &gt; +            RetainPtr&lt;NSArray&gt; actions = [_actionSheetAssistant defaultActionsForImageSheet:elementInfo.get()];
&gt; 
&gt; Why get the actions and change _previewType outside the below if?</span >

No good reason! Fixed.

Thanks Dan!</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>