Index: third_party/WebKit/public/web/WebElement.h |
diff --git a/third_party/WebKit/public/web/WebElement.h b/third_party/WebKit/public/web/WebElement.h |
index 7ea6bdc5e855ffbca582bcc59afea064f4b3bca4..e5ea5789c0bf5deaefbbd79dc4985cc47083162c 100644 |
--- a/third_party/WebKit/public/web/WebElement.h |
+++ b/third_party/WebKit/public/web/WebElement.h |
@@ -38,6 +38,7 @@ namespace blink { |
class Element; |
struct WebRect; |
+struct WebFloatRect; |
// Provides access to some properties of a DOM element node. |
class WebElement : public WebNode { |
@@ -73,7 +74,8 @@ public: |
// Returns the bounds of the element in Visual Viewport. The bounds |
// have been adjusted to include any transformations, including page scale. |
// This function will update the layout if required. |
- BLINK_EXPORT WebRect boundsInViewport(); |
+ BLINK_EXPORT WebRect boundsInViewportInt(); |
+ BLINK_EXPORT WebFloatRect boundsInViewportFloat(); |
// Returns the image contents of this element or a null WebImage |
// if there isn't any. |