Resizing Cappuccino is very laggy on WebKit since Safari 5.1
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebPage / mac / WKAccessibilityWebPageObject.mm
index c7229a9..6721b41 100644 (file)
@@ -145,7 +145,7 @@ using namespace WebKit;
         return nil;
 
     if ([attribute isEqualToString:NSAccessibilityPositionAttribute]) {
-        WebCore::IntPoint point = m_page->accessibilityPosition();
+        const WebCore::FloatPoint& point = m_page->accessibilityPosition();
         return [NSValue valueWithPoint:NSMakePoint(point.x(), point.y())];
     }
     if ([attribute isEqualToString:NSAccessibilitySizeAttribute]) {