REGRESSION (r178290): Yellow highlight from context menu Lookup in Dictionary is
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jan 2015 23:24:38 +0000 (23:24 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jan 2015 23:24:38 +0000 (23:24 +0000)
commit143580b92444d94ffae3f440e5803d95948aa0e1
treef8ad4209e5dea8d99d43fd3d40062893240f3565
parent76d592f9492506746a6a27b4ed18388d8a4b12bf
REGRESSION (r178290): Yellow highlight from context menu Lookup in Dictionary is
offset by flipped-ness
https://bugs.webkit.org/show_bug.cgi?id=140643
-and corresponding-
rdar://problem/19489593

Reviewed by Tim Horton.

We universally flipped because we assumed that the root view was flipped and the
WebView was not. However, in Dictionary, the WebView is flipped! So this patch
fixes that assumption by checking the WebView’s flipped-ness.
* WebView/WebView.mm:
(-[WebView _convertRectFromRootView:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebView.mm