| Index: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| index 601fda49a22b29c64bdd7affdbb77d53729a0e94..27870af606ef1c1dfe5ce0f9dfab2d33c09e8012 100644
|
| --- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| @@ -813,9 +813,9 @@ void DrawDocumentMarker(GraphicsContext& context,
|
|
|
| PaintFlags flags;
|
| flags.setAntiAlias(true);
|
| - flags.setShader(WrapSkShader(MakePaintShaderRecord(
|
| + flags.setShader(WTF::MakeUnique<PaintShader>(
|
| sk_ref_sp(marker), FloatRect(0, 0, kMarkerWidth, kMarkerHeight),
|
| - SkShader::kRepeat_TileMode, SkShader::kClamp_TileMode, &local_matrix)));
|
| + SkShader::kRepeat_TileMode, SkShader::kClamp_TileMode, &local_matrix));
|
|
|
| // Apply the origin translation as a global transform. This ensures that the
|
| // shader local matrix depends solely on zoom => Skia can reuse the same
|
|
|