<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#c6">Comment # 6</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:darin@apple.com" title="Darin Adler <darin@apple.com>"> <span class="fn">Darin Adler</span></a>
</span></b>
<pre>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>
<span class="quote">> Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm:2175
> + auto& renderImage = downcast<RenderImage>(*(element->renderer()));
> + info.bounds = renderImage.absoluteContentQuad().enclosingBoundingBox();</span >
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.</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>