Title: [245620] trunk/Source/WebKit
Revision
245620
Author
[email protected]
Date
2019-05-22 09:55:50 -0700 (Wed, 22 May 2019)

Log Message

Unreviewed fix for non-unified build after r245320.

* WebProcess/Automation/WebAutomationSessionProxy.cpp:
(WebKit::convertRectFromFrameClientToRootView):
(WebKit::convertPointFromFrameClientToRootView):
(WebKit::WebAutomationSessionProxy::computeElementLayout):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (245619 => 245620)


--- trunk/Source/WebKit/ChangeLog	2019-05-22 14:23:31 UTC (rev 245619)
+++ trunk/Source/WebKit/ChangeLog	2019-05-22 16:55:50 UTC (rev 245620)
@@ -1,3 +1,12 @@
+2019-05-22  Ross Kirsling  <[email protected]>
+
+        Unreviewed fix for non-unified build after r245320.
+
+        * WebProcess/Automation/WebAutomationSessionProxy.cpp:
+        (WebKit::convertRectFromFrameClientToRootView):
+        (WebKit::convertPointFromFrameClientToRootView):
+        (WebKit::WebAutomationSessionProxy::computeElementLayout):
+
 2019-05-22  Carlos Garcia Campos  <[email protected]>
 
         Unreviewed. Fix GTK unit tests after r245565

Modified: trunk/Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.cpp (245619 => 245620)


--- trunk/Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.cpp	2019-05-22 14:23:31 UTC (rev 245619)
+++ trunk/Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.cpp	2019-05-22 16:55:50 UTC (rev 245620)
@@ -503,7 +503,7 @@
     return &element;
 }
 
-static WebCore::FloatRect convertRectFromFrameClientToRootView(FrameView* frameView, WebCore::FloatRect clientRect)
+static WebCore::FloatRect convertRectFromFrameClientToRootView(WebCore::FrameView* frameView, WebCore::FloatRect clientRect)
 {
     if (!frameView->delegatesScrolling())
         return frameView->contentsToRootView(frameView->clientToDocumentRect(clientRect));
@@ -515,7 +515,7 @@
     return clientRect;
 }
 
-static WebCore::FloatPoint convertPointFromFrameClientToRootView(FrameView* frameView, WebCore::FloatPoint clientPoint)
+static WebCore::FloatPoint convertPointFromFrameClientToRootView(WebCore::FrameView* frameView, WebCore::FloatPoint clientPoint)
 {
     if (!frameView->delegatesScrolling())
         return frameView->contentsToRootView(frameView->clientToDocumentPoint(clientPoint));
@@ -595,7 +595,7 @@
     // Do that here so that the IVCP for an element larger than the viewport is within the viewport.
     // See spec bug here: https://github.com/w3c/webdriver/issues/1402
     auto viewportRect = frameView->documentToClientRect(frameView->visualViewportRect());
-    auto elementRect = FloatRect(firstElementRect->x(), firstElementRect->y(), firstElementRect->width(), firstElementRect->height());
+    auto elementRect = WebCore::FloatRect(firstElementRect->x(), firstElementRect->y(), firstElementRect->width(), firstElementRect->height());
     auto visiblePortionOfElementRect = intersection(viewportRect, elementRect);
 
     // If the element is entirely outside the viewport, still calculate it's bounds.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to