Chromium Code Reviews| 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..b1923f867e569e5b14d1c4b3825bedde00fa9046 100644 |
| --- a/third_party/WebKit/Source/core/frame/DOMVisualViewport.h |
| +++ b/third_party/WebKit/Source/core/frame/DOMVisualViewport.h |
| @@ -57,10 +57,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(); |
|
bokan
2016/10/02 19:47:50
Perhaps we should have a ScrollUnit typedef?
szager1
2016/10/05 07:43:36
I'll add the typedef, but I'm not going to try and
|
| + float scrollTop(); |
| + float pageX(); |
| + float pageY(); |
| double clientWidth(); |
| double clientHeight(); |
| double scale(); |