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

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

Issue 696413002: Remove HTMLLinkElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/DocumentTest.cpp » ('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 f9ec3de5847e7dc4bffe65223535a386da3466c5..1aa68c6efac6c66c11504c54d482fbd919ac3722 100644
--- a/sky/engine/core/dom/DocumentStyleSheetCollection.cpp
+++ b/sky/engine/core/dom/DocumentStyleSheetCollection.cpp
@@ -50,17 +50,6 @@ void DocumentStyleSheetCollection::collectStyleSheetsFromCandidates(StyleEngine*
Node* n = *it;
StyleSheetCandidate candidate(*n);
- if (candidate.isImport()) {
- Document* document = candidate.importedDocument();
- if (!document)
- continue;
- if (collector.hasVisited(document))
- continue;
- collector.willVisit(document);
- document->styleEngine()->updateStyleSheetsInImport(collector);
- continue;
- }
-
StyleSheet* sheet = candidate.sheet();
if (!sheet)
continue;
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/DocumentTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698