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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp

Issue 2835183002: Provide a method to remove inserted style sheet (Closed)
Patch Set: rebase Created 3 years, 7 months 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 | « no previous file | third_party/WebKit/Source/core/dom/StyleEngine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5c70f97fead469ed0ecda2f14be788377228830c..036ff73fe2b22b90d8d8b7124dcaa5b3f2bdc96a 100644
--- a/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp
@@ -94,7 +94,8 @@ void DocumentStyleSheetCollection::CollectStyleSheets(
for (auto& sheet :
GetDocument().GetStyleEngine().InjectedAuthorStyleSheets()) {
collector.AppendActiveStyleSheet(std::make_pair(
- sheet, GetDocument().GetStyleEngine().RuleSetForSheet(*sheet)));
+ sheet.second,
+ GetDocument().GetStyleEngine().RuleSetForSheet(*sheet.second)));
}
CollectStyleSheetsFromCandidates(master_engine, collector);
if (CSSStyleSheet* inspector_sheet =
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/StyleEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698