<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - The bounds on InteractionInformationAtPosition should be more precise"
href="https://bugs.webkit.org/show_bug.cgi?id=146468#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - The bounds on InteractionInformationAtPosition should be more precise"
href="https://bugs.webkit.org/show_bug.cgi?id=146468">bug 146468</a>
from <span class="vcard"><a class="email" href="mailto:bdakin@apple.com" title="Beth Dakin <bdakin@apple.com>"> <span class="fn">Beth Dakin</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=146468#c6">comment #6</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=255843&action=diff" name="attach_255843" title="Patch">attachment 255843</a> <a href="attachment.cgi?id=255843&action=edit" title="Patch">[details]</a></span>
> Patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=255843&action=review">https://bugs.webkit.org/attachment.cgi?id=255843&action=review</a>
>
> > 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.</span >
Hehe, turned this into a one-liner with <a href="http://trac.webkit.org/changeset/186184">http://trac.webkit.org/changeset/186184</a></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>