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

Unified Diff: Source/core/css/StyleSheetContents.cpp

Issue 66483002: fontSelector should be reset when removing stylesheets which has @font-face rule. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing 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 | « Source/core/css/StyleSheetContents.h ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheetContents.cpp
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
index d8b5c73088a7df09300ccdf8fc352b15776cb2cb..58389d7043a457b9f8fa52dccf2030c14ab4b958 100644
--- a/Source/core/css/StyleSheetContents.cpp
+++ b/Source/core/css/StyleSheetContents.cpp
@@ -62,6 +62,7 @@ StyleSheetContents::StyleSheetContents(StyleRuleImport* ownerRule, const String&
, m_usesRemUnits(false)
, m_isMutable(false)
, m_isInMemoryCache(false)
+ , m_hasFontFaceRule(false)
, m_parserContext(context)
{
}
@@ -80,6 +81,7 @@ StyleSheetContents::StyleSheetContents(const StyleSheetContents& o)
, m_usesRemUnits(o.m_usesRemUnits)
, m_isMutable(false)
, m_isInMemoryCache(false)
+ , m_hasFontFaceRule(o.m_hasFontFaceRule)
, m_parserContext(o.m_parserContext)
{
ASSERT(o.isCacheable());
« no previous file with comments | « Source/core/css/StyleSheetContents.h ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698