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 2132f01a56b915fd920383acf4b3e1c898ac9132..79f440c3d46da0ff7432ef34a064603cb24d9d80 100644 |
--- a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp |
+++ b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp |
@@ -44,7 +44,7 @@ namespace blink { |
void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr) |
{ |
WTF::adopted(fontMgr); |
- FontCache::setFontManager(RefPtr<SkFontMgr>(fontMgr)); |
+ FontCache::setFontManager(sk_ref_sp(fontMgr)); |
} |
// static |