[BlackBerry]Adjust fatfinger detection rect size.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Feb 2013 16:59:20 +0000 (16:59 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Feb 2013 16:59:20 +0000 (16:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=108678

Patch by Tiancheng Jiang <tijiang@rim.com> on 2013-02-25
Reviewed by Rob Buis.

Fix a typo in function names.

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

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

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

index 4b35411..6006536 100644 (file)
@@ -1,3 +1,15 @@
+2013-02-25  Tiancheng Jiang  <tijiang@rim.com>
+
+        [BlackBerry]Adjust fatfinger detection rect size.
+        https://bugs.webkit.org/show_bug.cgi?id=108678
+
+        Reviewed by Rob Buis.
+
+        Fix a typo in function names.
+
+        * WebKitSupport/FatFingers.cpp:
+        (BlackBerry::WebKit::FatFingers::getNodesFromRect):
+
 2013-02-25  Alberto Garcia  <albgarcia@rim.com>
 
         [BlackBerry] ChromeClientBlackBerry: fix variable names
index 4cd4519..03d515e 100644 (file)
@@ -460,7 +460,7 @@ void FatFingers::getNodesFromRect(Document* document, const IntPoint& contentPos
     unsigned topPadding, rightPadding, bottomPadding, leftPadding;
     IntPoint contentViewportPos = m_webPage->mapFromContentsToViewport(m_contentPos);
     // Do not allow fat fingers detect anything not visible(ie outside of the viewport)
-    adjustPaddings(contentViewportPos, topPadding, rightPadding, bottomPadding, leftPadding);
+    getAdjustedPaddings(contentViewportPos, topPadding, rightPadding, bottomPadding, leftPadding);
 
     // The user functions checkForText() and findIntersectingRegions() uses the Node.wholeText() to checkFingerIntersection()
     // not the text in its shadow tree.