| 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 758922b38cd422b771edeeb46d4ee335e3710d0b..c1fc56054096d4f19016ce832ff33871c16616b4 100644
|
| --- a/third_party/WebKit/Source/web/win/WebFontRendering.cpp
|
| +++ b/third_party/WebKit/Source/web/win/WebFontRendering.cpp
|
| @@ -15,9 +15,10 @@ void WebFontRendering::setUseDirectWrite(bool useDirectWrite)
|
| }
|
|
|
| // static
|
| -void WebFontRendering::setDirectWriteFactory(IDWriteFactory* factory)
|
| +void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr)
|
| {
|
| - FontCache::setDirectWriteFactory(factory);
|
| + WTF::adopted(fontMgr);
|
| + FontCache::setFontManager(RefPtr<SkFontMgr>(fontMgr));
|
| }
|
|
|
| // static
|
|
|