-
dglazkov@chromium.org authored
Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=22936 Fix uninitialized memory read error, reported by Purify. * platform/graphics/SimpleFontData.cpp: (WebCore::SimpleFontData::SimpleFontData): Added initializer for m_unitsPerEm using cDefaultUnitsPerEm constant. * svg/SVGFontFaceElement.cpp: (WebCore::SVGFontFaceElement::unitsPerEm): Replaced literal value with the constant. * svg/SVGFontFaceElement.h: Added cDefaultUnitsPerEm constant. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21b604ca