diff options
Diffstat (limited to 'layout/generic')
-rw-r--r-- | layout/generic/ReflowInput.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layout/generic/ReflowInput.cpp b/layout/generic/ReflowInput.cpp index 01f36cc9db..84fcfe119c 100644 --- a/layout/generic/ReflowInput.cpp +++ b/layout/generic/ReflowInput.cpp @@ -2799,9 +2799,11 @@ ComputeLineHeight(nsStyleContext* aStyleContext, } nscoord ReflowInput::GetLineHeight() const { +#ifdef XP_WIN if (mLineHeight != NS_AUTOHEIGHT) { return mLineHeight; } +#endif nscoord blockBSize = nsLayoutUtils::IsNonWrapperBlock(mFrame) ? ComputedBSize() : |