Index: third_party/WebKit/Source/core/frame/DOMVisualViewport.h |
diff --git a/third_party/WebKit/Source/core/frame/DOMVisualViewport.h b/third_party/WebKit/Source/core/frame/DOMVisualViewport.h |
index 6f27bb9fb73f7e0d53b9a18534cf28a17060926c..f9c6bb1448970620c588a4e69d61cdd374f8bac0 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMVisualViewport.h |
+++ b/third_party/WebKit/Source/core/frame/DOMVisualViewport.h |
@@ -35,6 +35,7 @@ |
#include "core/dom/ExecutionContext.h" |
#include "core/events/EventTarget.h" |
#include "platform/heap/Handle.h" |
+#include "platform/scroll/ScrollTypes.h" |
namespace blink { |
@@ -57,10 +58,10 @@ class DOMVisualViewport final : public EventTargetWithInlineData { |
const AtomicString& interfaceName() const override; |
ExecutionContext* getExecutionContext() const override; |
- double scrollLeft(); |
- double scrollTop(); |
- double pageX(); |
- double pageY(); |
+ float scrollLeft(); |
+ float scrollTop(); |
+ float pageX(); |
+ float pageY(); |
double clientWidth(); |
double clientHeight(); |
double scale(); |