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

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

Issue 1771823002: Remove unnecessary setNeedsRecalcStyleInAllFrames for fonts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSFontSelector.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontSelector.cpp b/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
index 7c432eba6f6e4063162d05bbc42e826aa3e7ff5b..65b0d4daaa08eeffd486416c47d9aa5d3ffd8d22 100644
--- a/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
+++ b/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
@@ -176,8 +176,7 @@ void CSSFontSelector::updateGenericFontFamilySettings(Document& document)
if (!document.settings())
return;
m_genericFontFamilySettings = document.settings()->genericFontFamilySettings();
- // Need to increment FontFaceCache version to update ComputedStyles.
- m_fontFaceCache.incrementVersion();
+ fontCacheInvalidated();
}
DEFINE_TRACE(CSSFontSelector)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698