Index: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp |
index 9d59800ba3bf1ce82cbecff834257383aca38b1c..f4d0351c74a0ffd39abe65610b8452442d0640ae 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp |
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp |
@@ -78,6 +78,8 @@ void DocumentStyleSheetCollection::collectStyleSheets(StyleEngine& engine, Docum |
DCHECK_EQ(&document().styleEngine(), &engine); |
collector.appendActiveStyleSheets(engine.injectedAuthorStyleSheets()); |
collectStyleSheetsFromCandidates(engine, collector); |
+ if (engine.inspectorStyleSheet()) |
+ collector.appendActiveStyleSheet(engine.inspectorStyleSheet()); |
} |
void DocumentStyleSheetCollection::updateActiveStyleSheets(StyleEngine& engine, StyleResolverUpdateMode updateMode) |