| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index d9973c2d86cf2b4bc9b8693edb4855524db8a4b0..9f628e1c1d9e1d7ede8cdebefc7f1c16f5c26734 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1662,8 +1662,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);
|
| }
|
|
|