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

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

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Modified resetFontSelector 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/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 1e60754d36d15ddc0fbcf509b857f5b323b46c9f..fc5d48abd23a7fdf6d05c0e2a95fdf400a39dadc 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1986,6 +1986,11 @@ void Document::clearStyleResolver()
m_styleEngine->clearResolver();
}
+CSSFontSelector* Document::fontSelector() const
+{
+ return m_styleEngine->fontSelector();
+}
+
void Document::attach(const AttachContext& context)
{
ASSERT(m_lifecyle.state() == DocumentLifecycle::Inactive);

Powered by Google App Engine
This is Rietveld 408576698