Bug 634734 - Fennec ASSERTION: mFUnitsConvFactor not valid: mFUnitsConvFactor > 0.0f [r=karlt a-2.0=pavlov] Whitespace followup. DONTBUILD
authorDoug Turner <dougt@dougt.org>
Thu, 17 Feb 2011 16:04:34 -0800
changeset 62776 039b9f95368f6fafaddd70e754f7ad8a5cdbf3d8
parent 62775 9eacc33dd8f2ef8671c74478324864adad9aa63e
child 62802 3935be0d1062dae863be23806105941147f4da4e
push idunknown
push userunknown
push dateunknown
reviewerskarlt
bugs634734
milestone2.0b12pre
Bug 634734 - Fennec ASSERTION: mFUnitsConvFactor not valid: mFUnitsConvFactor > 0.0f [r=karlt a-2.0=pavlov] Whitespace followup. DONTBUILD
gfx/thebes/gfxFT2Fonts.cpp
--- a/gfx/thebes/gfxFT2Fonts.cpp
+++ b/gfx/thebes/gfxFT2Fonts.cpp
@@ -680,23 +680,21 @@ gfxFT2Font::InitTextRun(gfxContext *aCon
                         PRInt32 aRunScript,
                         PRBool aPreferPlatformShaping)
 {
     PRBool ok = PR_FALSE;
 
     if (gfxPlatform::GetPlatform()->UseHarfBuzzLevel() >=
         gfxUnicodeProperties::ScriptShapingLevel(aRunScript))
     {
-        if (!mHarfBuzzShaper) 
-        {
+        if (!mHarfBuzzShaper) {
             gfxFT2LockedFace face(this);
             mFUnitsConvFactor = face.XScale();
 
             mHarfBuzzShaper = new gfxHarfBuzzShaper(this);
-
         }
         ok = mHarfBuzzShaper->InitTextRun(aContext, aTextRun, aString,
                                           aRunStart, aRunLength, aRunScript);
     }
 
     if (!ok) {
         AddRange(aTextRun, aString, aRunStart, aRunLength);
     }