Title: [131513] trunk/Source/WebKit/blackberry
Revision
131513
Author
commit-qu...@webkit.org
Date
2012-10-16 15:05:47 -0700 (Tue, 16 Oct 2012)

Log Message

[BlackBerry] calculateInRegionScrollableAreasForPoint should use a ReadOnly HitTest
https://bugs.webkit.org/show_bug.cgi?id=99497

Patch by Mike Lattanzio <mlattan...@rim.com> on 2012-10-16
Reviewed by Antonio Gomes.

Fix calculateInRegionScrollableAreasForPoint to use a ReadOnly
hit test to improve its performance.

* Api/InRegionScroller.cpp:
(BlackBerry::WebKit::InRegionScrollerPrivate::calculateInRegionScrollableAreasForPoint):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/Api/InRegionScroller.cpp (131512 => 131513)


--- trunk/Source/WebKit/blackberry/Api/InRegionScroller.cpp	2012-10-16 22:01:24 UTC (rev 131512)
+++ trunk/Source/WebKit/blackberry/Api/InRegionScroller.cpp	2012-10-16 22:05:47 UTC (rev 131513)
@@ -202,7 +202,7 @@
     ASSERT(m_activeInRegionScrollableAreas.empty());
     m_needsActiveScrollableAreaCalculation = false;
 
-    HitTestResult result = m_webPage->m_mainFrame->eventHandler()->hitTestResultAtPoint(m_webPage->mapFromViewportToContents(point), false /*allowShadowContent*/);
+    HitTestResult result = m_webPage->m_mainFrame->eventHandler()->hitTestResultAtPoint(m_webPage->mapFromViewportToContents(point));
     Node* node = result.innerNonSharedNode();
     if (!node || !node->renderer())
         return;

Modified: trunk/Source/WebKit/blackberry/ChangeLog (131512 => 131513)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-10-16 22:01:24 UTC (rev 131512)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-10-16 22:05:47 UTC (rev 131513)
@@ -1,3 +1,18 @@
+2012-10-16  Mike Lattanzio  <mlattan...@rim.com>
+
+        2012-10-16  Mike Lattanzio  <mlattan...@rim.com>
+
+        [BlackBerry] calculateInRegionScrollableAreasForPoint should use a ReadOnly HitTest
+        https://bugs.webkit.org/show_bug.cgi?id=99497
+
+        Reviewed by Antonio Gomes.
+
+        Fix calculateInRegionScrollableAreasForPoint to use a ReadOnly
+        hit test to improve its performance.
+
+        * Api/InRegionScroller.cpp:
+        (BlackBerry::WebKit::InRegionScrollerPrivate::calculateInRegionScrollableAreasForPoint):
+
 2012-10-15  Peter Wang  <peter.w...@torchmobile.com.cn>
 
         [BlackBerry] Web Inspector: Remove the useless preferences items in "inspectorBB.js"
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to