Bug 786736 - Initialize nsSVGOuterSVGFrame::mFullZoom to the full-zoom value in the ctor. r=roc.

This commit is contained in:
Jonathan Watt 2012-08-30 09:55:22 +01:00
Родитель 6f2be640b7
Коммит c49b6d62d9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -135,7 +135,7 @@ NS_IMPL_FRAMEARENA_HELPERS(nsSVGOuterSVGFrame)
nsSVGOuterSVGFrame::nsSVGOuterSVGFrame(nsStyleContext* aContext)
: nsSVGOuterSVGFrameBase(aContext)
, mFullZoom(0)
, mFullZoom(aContext->PresContext()->GetFullZoom())
, mViewportInitialized(false)
, mIsRootContent(false)
{