Title: [151281] trunk/Source/WebCore
Revision
151281
Author
[email protected]
Date
2013-06-06 10:10:09 -0700 (Thu, 06 Jun 2013)

Log Message

ENABLE(PAN_SCROLLING) AutoscrollController::updateAutoscrollRenderer calls hitTestResultAtPoint with `true` for HitTestRequestType
https://bugs.webkit.org/show_bug.cgi?id=116896

Reviewed by Andreas Kling.

Update hitTestResultAtPoint call to new API.

* page/AutoscrollController.cpp:
(WebCore::AutoscrollController::updateAutoscrollRenderer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151280 => 151281)


--- trunk/Source/WebCore/ChangeLog	2013-06-06 17:07:03 UTC (rev 151280)
+++ trunk/Source/WebCore/ChangeLog	2013-06-06 17:10:09 UTC (rev 151281)
@@ -1,3 +1,15 @@
+2013-06-06  Allan Sandfeld Jensen  <[email protected]>
+
+        ENABLE(PAN_SCROLLING) AutoscrollController::updateAutoscrollRenderer calls hitTestResultAtPoint with `true` for HitTestRequestType
+        https://bugs.webkit.org/show_bug.cgi?id=116896
+
+        Reviewed by Andreas Kling.
+
+        Update hitTestResultAtPoint call to new API.
+
+        * page/AutoscrollController.cpp:
+        (WebCore::AutoscrollController::updateAutoscrollRenderer):
+
 2013-06-06  Carlos Garcia Campos  <[email protected]>
 
         ResourceLoader::resourceData() should not return a PassRefPtr

Modified: trunk/Source/WebCore/page/AutoscrollController.cpp (151280 => 151281)


--- trunk/Source/WebCore/page/AutoscrollController.cpp	2013-06-06 17:07:03 UTC (rev 151280)
+++ trunk/Source/WebCore/page/AutoscrollController.cpp	2013-06-06 17:10:09 UTC (rev 151281)
@@ -133,7 +133,7 @@
     RenderObject* renderer = m_autoscrollRenderer;
 
 #if ENABLE(PAN_SCROLLING)
-    HitTestResult hitTest = m_autoscrollRenderer->frame()->eventHandler()->hitTestResultAtPoint(m_panScrollStartPos, true);
+    HitTestResult hitTest = m_autoscrollRenderer->frame()->eventHandler()->hitTestResultAtPoint(m_panScrollStartPos, HitTestRequest::ReadOnly | HitTestRequest::Active);
 
     if (Node* nodeAtPoint = hitTest.innerNode())
         renderer = nodeAtPoint->renderer();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to