| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 9b389ac17e39fcb4b07409b794be3ae1554bea24..41ba2a4e891e3570e74650c4004a022965d98605 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1662,8 +1662,8 @@ void Document::updateDistributionForNodeIfNeeded(Node* node)
|
|
|
| void Document::setupFontBuilder(RenderStyle* documentStyle)
|
| {
|
| - FontBuilder fontBuilder;
|
| - fontBuilder.initForStyleResolve(*this, documentStyle);
|
| + FontBuilder fontBuilder(*this);
|
| + fontBuilder.setStyle(documentStyle);
|
| RefPtrWillBeRawPtr<CSSFontSelector> selector = m_styleEngine->fontSelector();
|
| fontBuilder.createFontForDocument(selector, documentStyle);
|
| }
|
|
|