Index: Source/core/rendering/style/RenderStyle.h |
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h |
index 127a7285248975f8933344409beb9d8bc4bb3701..d73b89dd2729bb19383ed4a17bf05d1b959f47b1 100644 |
--- a/Source/core/rendering/style/RenderStyle.h |
+++ b/Source/core/rendering/style/RenderStyle.h |
@@ -1786,14 +1786,14 @@ inline int adjustForAbsoluteZoom(int value, const RenderStyle* style) |
return roundForImpreciseConversion<int>(value / zoomFactor); |
} |
-inline float adjustFloatForAbsoluteZoom(float value, const RenderStyle* style) |
+inline float adjustFloatForAbsoluteZoom(float value, const RenderStyle& style) |
{ |
- return value / style->effectiveZoom(); |
+ return value / style.effectiveZoom(); |
} |
-inline LayoutUnit adjustLayoutUnitForAbsoluteZoom(LayoutUnit value, const RenderStyle* style) |
+inline LayoutUnit adjustLayoutUnitForAbsoluteZoom(LayoutUnit value, const RenderStyle& style) |
{ |
- return value / style->effectiveZoom(); |
+ return value / style.effectiveZoom(); |
} |
inline bool RenderStyle::setZoom(float f) |