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

Unified Diff: Source/core/css/CSSFontSelector.cpp

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix fast/text/international/ regression Created 6 years, 11 months 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/css/CSSFontSelector.cpp
diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp
index 0590cc40f0b7eeba41ea3f3a961500da35b10746..ab8b08bc500abbb93563a65669d9ff2c935ad5d8 100644
--- a/Source/core/css/CSSFontSelector.cpp
+++ b/Source/core/css/CSSFontSelector.cpp
@@ -219,4 +219,10 @@ void CSSFontSelector::loadPendingFonts()
m_fontLoader.loadPendingFonts();
}
+void CSSFontSelector::updateGenericFontFamilySettings(Document& document)
+{
+ ASSERT(document.frame());
+ m_genericFontFamilySettings = document.frame()->settings()->genericFontFamilySettings();
+}
+
}

Powered by Google App Engine
This is Rietveld 408576698