| Index: ui/gfx/render_text_mac.mm
|
| diff --git a/ui/gfx/render_text_mac.mm b/ui/gfx/render_text_mac.mm
|
| index eafd25ad3d68de72db99c2944ef851698cbbede5..67058173093e471a296da0ff75b60618149e197c 100644
|
| --- a/ui/gfx/render_text_mac.mm
|
| +++ b/ui/gfx/render_text_mac.mm
|
| @@ -260,10 +260,8 @@ void RenderTextMac::DrawVisualText(internal::SkiaTextRenderer* renderer) {
|
| renderer->DrawPosText(&run.glyph_positions[0], &run.glyphs[0],
|
| run.glyphs.size());
|
| renderer->DrawDecorations(run.origin.x(), run.origin.y(), run.width,
|
| - run.underline, run.strike, run.diagonal_strike);
|
| + run.underline, run.strike);
|
| }
|
| -
|
| - renderer->EndDiagonalStrike();
|
| }
|
|
|
| RenderTextMac::TextRun::TextRun()
|
| @@ -272,8 +270,7 @@ RenderTextMac::TextRun::TextRun()
|
| width(0),
|
| foreground(SK_ColorBLACK),
|
| underline(false),
|
| - strike(false),
|
| - diagonal_strike(false) {}
|
| + strike(false) {}
|
|
|
| RenderTextMac::TextRun::TextRun(TextRun&& other) = default;
|
|
|
| @@ -444,7 +441,7 @@ void RenderTextMac::ComputeRuns() {
|
| }
|
|
|
| // TODO(asvitkine): Style boundaries are not necessarily per-run. Handle
|
| - // this better. Also, support strike and diagonal_strike.
|
| + // this better. Also, support strike.
|
| CFDictionaryRef attributes = CTRunGetAttributes(ct_run);
|
| CTFontRef ct_font = base::mac::GetValueFromDictionary<CTFontRef>(
|
| attributes, kCTFontAttributeName);
|
|
|