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

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: Fixed TextAutosizing Created 6 years, 10 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 42cc243e733c6aab05228ecdc192d4c7de8a23d7..55b0f746a9516d97ba43bd40698c42b8ce5f24d7 100644
--- a/Source/core/css/CSSFontSelector.cpp
+++ b/Source/core/css/CSSFontSelector.cpp
@@ -216,4 +216,10 @@ void CSSFontSelector::loadPendingFonts()
m_fontLoader.loadPendingFonts();
}
+void CSSFontSelector::updateGenericFontFamilySettings(Document& document)
+{
+ ASSERT(document.frame());
+ m_genericFontFamilySettings = document.frame()->settings()->genericFontFamilySettings();
eseidel 2014/02/14 05:39:15 I think there is just a document.settings() as wel
tasak 2014/02/14 08:27:46 Done.
+}
+
}

Powered by Google App Engine
This is Rietveld 408576698