Index: Source/WebCore/rendering/style/RenderStyle.h |
=================================================================== |
--- Source/WebCore/rendering/style/RenderStyle.h (revision 140863) |
+++ Source/WebCore/rendering/style/RenderStyle.h (working copy) |
@@ -1782,6 +1782,13 @@ |
return value / style->effectiveZoom(); |
} |
+#if ENABLE(SUBPIXEL_LAYOUT) |
+inline LayoutUnit adjustLayoutUnitForAbsoluteZoom(LayoutUnit value, const RenderStyle* style) |
+{ |
+ return value / style->effectiveZoom(); |
+} |
+#endif |
+ |
inline bool RenderStyle::setZoom(float f) |
{ |
if (compareEqual(visual->m_zoom, f)) |