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

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

Issue 1372823002: No need to recalc style before StyleResolver::computeFont. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « third_party/WebKit/LayoutTests/fast/css/invalidation/font-face-load-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/FontFaceSet.cpp
diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.cpp b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
index 38a4e99c6ad477867ec6cd2dc018220477803477..c30c35aaaedae60817fd0e0c6404db3bad33c182 100644
--- a/third_party/WebKit/Source/core/css/FontFaceSet.cpp
+++ b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
@@ -499,7 +499,6 @@ bool FontFaceSet::resolveFontStyle(const String& fontString, Font& font)
style->font().update(style->font().fontSelector());
- document()->updateLayoutTreeIfNeeded();
document()->ensureStyleResolver().computeFont(style.get(), *parsedStyle);
font = style->font();
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/invalidation/font-face-load-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698