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

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

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed html import issue. Created 4 years 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: 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) {

Powered by Google App Engine
This is Rietveld 408576698