Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Unified Diff: Source/core/dom/Document.cpp

Issue 715633006: Remove FontDescriptionChangeScope, and let FontBuilder partially apply values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix size/family ordering. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index cf01ec8247ede9efbf6276774aef53b647140f67..91eaf554053ddc8c40b1fdbe52a2efbb257788eb 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1664,7 +1664,6 @@ void Document::updateDistributionForNodeIfNeeded(Node* node)
void Document::setupFontBuilder(RenderStyle* documentStyle)
{
FontBuilder fontBuilder(*this);
- fontBuilder.setFontDescription(documentStyle->fontDescription());
RefPtrWillBeRawPtr<CSSFontSelector> selector = m_styleEngine->fontSelector();
fontBuilder.createFontForDocument(selector, documentStyle);
}

Powered by Google App Engine
This is Rietveld 408576698