Index: Source/core/dom/DocumentStyleSheetCollection.cpp |
diff --git a/Source/core/dom/DocumentStyleSheetCollection.cpp b/Source/core/dom/DocumentStyleSheetCollection.cpp |
index 9d69218ed3f925091d899bbe27178dec8b265aea..1a24de3c7e0133eaf9d698f7eb5d70cbeb822e8f 100644 |
--- a/Source/core/dom/DocumentStyleSheetCollection.cpp |
+++ b/Source/core/dom/DocumentStyleSheetCollection.cpp |
@@ -104,20 +104,11 @@ void DocumentStyleSheetCollection::collectStyleSheetsFromCandidates(StyleEngine* |
} |
} |
-static void collectActiveCSSStyleSheetsFromSeamlessParents(DocumentStyleSheetCollector& collector, Document* document) |
-{ |
- HTMLIFrameElement* seamlessParentIFrame = document->seamlessParentIFrame(); |
- if (!seamlessParentIFrame) |
- return; |
- collector.appendActiveStyleSheets(seamlessParentIFrame->document().styleEngine()->activeAuthorStyleSheets()); |
-} |
- |
void DocumentStyleSheetCollection::collectStyleSheets(StyleEngine* engine, DocumentStyleSheetCollector& collector) |
{ |
ASSERT(document()->styleEngine() == engine); |
collector.appendActiveStyleSheets(engine->injectedAuthorStyleSheets()); |
collector.appendActiveStyleSheets(engine->documentAuthorStyleSheets()); |
- collectActiveCSSStyleSheetsFromSeamlessParents(collector, document()); |
collectStyleSheetsFromCandidates(engine, collector); |
} |