Chromium Code Reviews| 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..1fa78cdb03b67e4665e41514c04354ec6e0bfc0b 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_sp<SkFontMgr>(fontMgr)); |
|
f(malita)
2016/09/01 03:55:39
This looks iffy: prev RefPtr ctor is grabbing a ne
Łukasz Anforowicz
2016/09/01 20:50:59
Done, although things are interesting here. AFAIC
|
| } |
| // static |