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

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

Issue 82643002: Should not override styleResolverUpdateType to Reset when some existing stylesheet still has @font-… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revised Created 7 years, 1 month 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StyleSheetCollection.cpp
diff --git a/Source/core/dom/StyleSheetCollection.cpp b/Source/core/dom/StyleSheetCollection.cpp
index 8613a43a31a19997faaf3af465639dee4c086dc1..624229f1dfc4139caf6dc86fa6250415c9cd0426 100644
--- a/Source/core/dom/StyleSheetCollection.cpp
+++ b/Source/core/dom/StyleSheetCollection.cpp
@@ -202,7 +202,8 @@ void StyleSheetCollection::analyzeStyleSheetChange(StyleResolverUpdateMode updat
// So we can remove "styleSheetContentsHasFontFaceRule(newSheets)".
if (cssStyleSheetHasFontFaceRule(newCollection.activeAuthorStyleSheets()))
change.styleResolverUpdateType = ResetStyleResolverAndFontSelector;
- change.styleResolverUpdateType = Reset;
+ else
+ change.styleResolverUpdateType = Reset;
}
}
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698