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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 1 12:13:07 PDT 2015


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

--- Comment #7 from Beth Dakin <bdakin at apple.com> ---
(In reply to comment #6)
> Comment on attachment 255843 [details]
> 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.

Hehe, turned this into a one-liner with http://trac.webkit.org/changeset/186184

-- 
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/4f39dd40/attachment.html>


More information about the webkit-unassigned mailing list