Index: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp |
index 72c7dd034a897b9596198cf3e75bedd3309cb03a..9860bd5343efd4a58a868138f606abf8e5138ae6 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp |
@@ -83,24 +83,6 @@ void ScopedStyleResolver::addFontFaceRules(const RuleSet& ruleSet) { |
document.styleResolver()->invalidateMatchedPropertiesCache(); |
} |
-void ScopedStyleResolver::appendCSSStyleSheet(CSSStyleSheet& cssSheet) { |
- RuleSet* ruleSet = |
- treeScope().document().styleEngine().ruleSetForSheet(cssSheet); |
- |
- m_viewportDependentMediaQueryResults.appendVector( |
- cssSheet.viewportDependentMediaQueryResults()); |
- m_deviceDependentMediaQueryResults.appendVector( |
- cssSheet.deviceDependentMediaQueryResults()); |
- if (!ruleSet) |
- return; |
- |
- unsigned index = m_authorStyleSheets.size(); |
- m_authorStyleSheets.append(&cssSheet); |
- addKeyframeRules(*ruleSet); |
- addFontFaceRules(*ruleSet); |
- addTreeBoundaryCrossingRules(*ruleSet, &cssSheet, index); |
-} |
- |
void ScopedStyleResolver::appendActiveStyleSheets( |
unsigned index, |
const ActiveStyleSheetVector& activeSheets) { |