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

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: Added 2 layout tests Created 7 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 6b96c8cf4b7da8f3ced73b2c7ee957bbaac94889..1d8d40bfa62e412836bc7cdf76c43820ac5f6bf4 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1942,6 +1942,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