[Webkit-unassigned] [Bug 146468] The bounds on InteractionInformationAtPosition should be more precise

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 30 17:32:56 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146468

--- Comment #6 from Darin Adler <darin at apple.com> ---
Comment on attachment 255843
  --> https://bugs.webkit.org/attachment.cgi?id=255843
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=255843&action=review

> Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm:2175
> +                    auto& renderImage = downcast<RenderImage>(*(element->renderer()));
> +                    info.bounds = renderImage.absoluteContentQuad().enclosingBoundingBox();

Now that you added a local variable, this is slightly nicer as a one-liner:

    info.bounds = downcast<RenderImage>(*renderer).absoluteContentQuad().enclosingBoundingBox();

I know you landed already, but I couldn’t resist.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150701/7ae7d5d8/attachment.html>


More information about the webkit-unassigned mailing list