Index: third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
index 31aabc718b704256c7345ed3e26bcc5624004a43..b244565133feb3b1b524fc01069ed285a7a93c8b 100644 |
--- a/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
+++ b/third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
@@ -51,9 +51,6 @@ void ShadowTreeStyleSheetCollection::collectStyleSheets(StyleEngine& engine, Sty |
StyleSheetCandidate candidate(*n); |
DCHECK(!candidate.isXSL()); |
- if (!candidate.isCSSStyle()) |
- continue; |
- |
StyleSheet* sheet = candidate.sheet(); |
if (!sheet) |
continue; |