Index: third_party/WebKit/Source/core/style/ComputedStyle.h |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h |
index 7bd6e5e5845b6c93f6d0e99a85819c88e1084db6..7bcb54e40baee2d522ca991f251a078ee098948b 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -4038,13 +4038,12 @@ inline LayoutUnit adjustLayoutUnitForAbsoluteZoom(LayoutUnit value, |
return LayoutUnit(value / style.effectiveZoom()); |
} |
-inline double adjustScrollForAbsoluteZoom(double scrollOffset, |
- float zoomFactor) { |
+inline float adjustScrollForAbsoluteZoom(float scrollOffset, float zoomFactor) { |
return scrollOffset / zoomFactor; |
} |
-inline double adjustScrollForAbsoluteZoom(double scrollOffset, |
- const ComputedStyle& style) { |
+inline float adjustScrollForAbsoluteZoom(float scrollOffset, |
+ const ComputedStyle& style) { |
return adjustScrollForAbsoluteZoom(scrollOffset, style.effectiveZoom()); |
} |