There are two places where we calculate coordinates for an item. One is in method draw, the other is in getPopoverAnchor. It is easy to make a mistake if we need to change the logic or introduce an offset. So we need a single function for that.
Created attachment 195937 [details] Patch
Committed r147308: <http://trac.webkit.org/changeset/147308>