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

Unified Diff: sky/engine/core/dom/DocumentStyleSheetCollection.cpp

Issue 778743003: Merge StyleSheet into CSSStyleSheet. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: sort headers. Created 6 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
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/DocumentStyleSheetCollector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/DocumentStyleSheetCollection.cpp
diff --git a/sky/engine/core/dom/DocumentStyleSheetCollection.cpp b/sky/engine/core/dom/DocumentStyleSheetCollection.cpp
index 2e18aa0afe22cf82a0b36b90d1970d459c4d0272..047dba27cd020782bd35d2a0f6a7f1b56a928dbe 100644
--- a/sky/engine/core/dom/DocumentStyleSheetCollection.cpp
+++ b/sky/engine/core/dom/DocumentStyleSheetCollection.cpp
@@ -50,13 +50,13 @@ void DocumentStyleSheetCollection::collectStyleSheetsFromCandidates(StyleEngine*
Node* n = *it;
StyleSheetCandidate candidate(*n);
- StyleSheet* sheet = candidate.sheet();
+ CSSStyleSheet* sheet = candidate.sheet();
if (!sheet)
continue;
collector.appendSheetForList(sheet);
if (candidate.canBeActivated())
- collector.appendActiveStyleSheet(toCSSStyleSheet(sheet));
+ collector.appendActiveStyleSheet(sheet);
}
}
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/DocumentStyleSheetCollector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698