Chromium Code Reviews| 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..829473e8657d5be8e3e3d4d63a4439a0c4260403 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); |
| + adopted(fontMgr); |
|
jbroman
2016/02/09 22:31:30
Suggest a comment indicating why this is called (s
|
| + FontCache::setFontManager(RefPtr<SkFontMgr>(fontMgr)); |
|
jbroman
2016/02/09 22:31:30
should simply be "FontCache::setFontManager(fontMg
|
| } |
| // static |