[BlackBerry] FatFingers: move rectForPoint() from HitTestResult to HitTestLocation
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 24 Feb 2013 15:23:26 +0000 (15:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 24 Feb 2013 15:23:26 +0000 (15:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=110570

Patch by Alberto Garcia <albgarcia@rim.com> on 2013-02-24
Reviewed by Allan Sandfeld Jensen.

HitTestResult is no longer a HitTestLocation:
http://trac.webkit.org/changeset/135710/trunk/Source/WebCore/rendering/HitTestResult.h

* WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::fingerRectForPoint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143866 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/blackberry/ChangeLog
Source/WebKit/blackberry/WebKitSupport/FatFingers.cpp

index ea5693f..011aec2 100644 (file)
@@ -1,3 +1,16 @@
+2013-02-24  Alberto Garcia  <albgarcia@rim.com>
+
+        [BlackBerry] FatFingers: move rectForPoint() from HitTestResult to HitTestLocation
+        https://bugs.webkit.org/show_bug.cgi?id=110570
+
+        Reviewed by Allan Sandfeld Jensen.
+
+        HitTestResult is no longer a HitTestLocation:
+        http://trac.webkit.org/changeset/135710/trunk/Source/WebCore/rendering/HitTestResult.h
+
+        * WebKitSupport/FatFingers.cpp:
+        (BlackBerry::WebKit::FatFingers::fingerRectForPoint):
+
 2013-02-22  Mike Fenton  <mifenton@rim.com>
 
         [BlackBerry] Eliminate invalid clipping for content editable selections
index c610704..4cd4519 100644 (file)
@@ -69,7 +69,7 @@ IntRect FatFingers::fingerRectForPoint(const IntPoint& point) const
     IntPoint contentViewportPos = m_webPage->mapFromContentsToViewport(point);
     getAdjustedPaddings(contentViewportPos, topPadding, rightPadding, bottomPadding, leftPadding);
 
-    return HitTestResult::rectForPoint(point, topPadding, rightPadding, bottomPadding, leftPadding);
+    return HitTestLocation::rectForPoint(point, topPadding, rightPadding, bottomPadding, leftPadding);
 }
 
 static bool hasMousePressListener(Element* element)