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

Unified Diff: Source/core/css/resolver/ScopedStyleResolver.cpp

Issue 85693009: Get rid of Reset and ResetStyleResolverAndFontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/css/resolver/ScopedStyleResolver.cpp
diff --git a/Source/core/css/resolver/ScopedStyleResolver.cpp b/Source/core/css/resolver/ScopedStyleResolver.cpp
index e26bc5fb85e041d29d5dee9814b35031131aa4ca..490685ec7d9ff5856e61616fecce821b4e6e32b5 100644
--- a/Source/core/css/resolver/ScopedStyleResolver.cpp
+++ b/Source/core/css/resolver/ScopedStyleResolver.cpp
@@ -84,12 +84,6 @@ void ScopedStyleResolver::collectFeaturesTo(RuleFeatureSet& features)
features.add(m_authorStyleSheets[i]->ruleSet().features());
}
-void ScopedStyleResolver::resetAuthorStyle()
-{
- m_authorStyleSheets.clear();
- m_keyframesRuleMap.clear();
-}
-
bool ScopedStyleResolver::checkRegionStyle(Element* regionElement)
{
for (size_t i = 0; i < m_authorStyleSheets.size(); ++i) {

Powered by Google App Engine
This is Rietveld 408576698