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 6611727e3007af99ed1e26e9e4ba45539d94f866..1721ca15dc91527c4a8d36d36b1afc13e23d3600 100644 |
--- a/third_party/WebKit/Source/web/win/WebFontRendering.cpp |
+++ b/third_party/WebKit/Source/web/win/WebFontRendering.cpp |
@@ -12,7 +12,7 @@ namespace blink { |
void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr) |
{ |
WTF::adopted(fontMgr); |
- FontCache::setFontManager(RefPtr<SkFontMgr>(fontMgr)); |
+ FontCache::setFontManager(sk_ref_sp(fontMgr)); |
} |
// static |