Index: third_party/WebKit/Source/web/win/WebFontRendering.cpp |
diff --git a/third_party/WebKit/Source/web/win/WebFontRendering.cpp b/third_party/WebKit/Source/web/win/WebFontRendering.cpp |
index 4d468805b16b6c7d7799b41015d4152cc3a518f5..56f73fd903e87956900533862c247fd6118fa989 100644 |
--- a/third_party/WebKit/Source/web/win/WebFontRendering.cpp |
+++ b/third_party/WebKit/Source/web/win/WebFontRendering.cpp |
@@ -9,9 +9,8 @@ |
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 |