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