summaryrefslogtreecommitdiff
path: root/Source/WebKit/win/AccessibleBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/win/AccessibleBase.cpp')
-rw-r--r--Source/WebKit/win/AccessibleBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/win/AccessibleBase.cpp b/Source/WebKit/win/AccessibleBase.cpp
index d26086677..e733141f2 100644
--- a/Source/WebKit/win/AccessibleBase.cpp
+++ b/Source/WebKit/win/AccessibleBase.cpp
@@ -498,7 +498,7 @@ HRESULT STDMETHODCALLTYPE AccessibleBase::accLocation(long* left, long* top, lon
if (!childObj->documentFrameView())
return E_FAIL;
- IntRect screenRect(childObj->documentFrameView()->contentsToScreen(childObj->elementRect()));
+ IntRect screenRect(childObj->documentFrameView()->contentsToScreen(childObj->pixelSnappedElementRect()));
*left = screenRect.x();
*top = screenRect.y();
*width = screenRect.width();