Index: ui/gfx/render_text.h |
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h |
index 6f56a697358781ba59b1bcfa12d82aa8e97c05ef..a7ae2fe36afc7c7680fd3fe91939423c95f43afd 100644 |
--- a/ui/gfx/render_text.h |
+++ b/ui/gfx/render_text.h |
@@ -64,7 +64,7 @@ class GFX_EXPORT SkiaTextRenderer { |
void SetTextSize(SkScalar size); |
void SetFontWithStyle(const Font& font, int font_style); |
void SetForegroundColor(SkColor foreground); |
- void SetShader(SkShader* shader); |
+ void SetShader(sk_sp<SkShader> shader); |
// Sets underline metrics to use if the text will be drawn with an underline. |
// If not set, default values based on the size of the text will be used. The |
// two metrics must be set together. |