Index: third_party/WebKit/Source/web/linux/WebFontRendering.cpp |
diff --git a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp |
index 398fc3153a2e8c93d307c07a73be0a842f2e2932..8a901e8b0497c932200d023ea41e6e35e41e65c6 100644 |
--- a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp |
+++ b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp |
@@ -41,9 +41,8 @@ using blink::FontPlatformData; |
namespace blink { |
// static |
-void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr) { |
- WTF::adopted(fontMgr); |
- FontCache::setFontManager(sk_ref_sp(fontMgr)); |
+void WebFontRendering::setSkiaFontManager(sk_sp<SkFontMgr> fontMgr) { |
+ FontCache::setFontManager(std::move(fontMgr)); |
} |
// static |