Backed out changeset bd68b6dfd83e (bug 1546985) for Reftest failures. CLOSED TREE
authorDorel Luca <dluca@mozilla.com>
Fri, 26 Apr 2019 01:13:56 +0300
changeset 530188 d9e0ffa11ce7837c9dffbdeab702a37a50c9857f
parent 530187 dbb622ba7d3766027749787461f69b8cd23acde8
child 530189 9879ab660a34a9003a3242545fdc1989ee08addd
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1546985
milestone68.0a1
backs outbd68b6dfd83e13a9ec3ff273b17fcb1992ae10ec
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset bd68b6dfd83e (bug 1546985) for Reftest failures. CLOSED TREE
layout/generic/nsTextFrame.cpp
--- a/layout/generic/nsTextFrame.cpp
+++ b/layout/generic/nsTextFrame.cpp
@@ -6680,20 +6680,19 @@ static void DrawTextRun(const gfxTextRun
                 params.drawMode |= DrawMode::GLYPH_STROKE_UNDERNEATH;
                 paintOrder = 0;
                 break;
             }
             paintOrder >>= NS_STYLE_PAINT_ORDER_BITWIDTH;
           }
         }
       }
-      // Use ROUND joins as they are less likely to produce ugly artifacts
-      // when stroking glyphs with sharp angles (see bug 1546985).
-      StrokeOptions strokeOpts(aParams.textStrokeWidth, JoinStyle::ROUND);
+      StrokeOptions strokeOpts;
       params.textStrokeColor = aParams.textStrokeColor;
+      strokeOpts.mLineWidth = aParams.textStrokeWidth;
       params.strokeOpts = &strokeOpts;
       aTextRun->Draw(aRange, aTextBaselinePt, params);
     } else {
       aTextRun->Draw(aRange, aTextBaselinePt, params);
     }
   }
 }