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

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

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More assert fixes Created 4 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
Index: third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp
index 88a4935c8f582111aa35628bb3226290047d7551..c8656ca4055300322710f42157150509363cb5c5 100644
--- a/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp
@@ -27,6 +27,7 @@
#include "core/dom/StyleSheetCollection.h"
#include "core/css/CSSStyleSheet.h"
+#include "core/css/RuleSet.h"
namespace blink {
@@ -47,9 +48,9 @@ void StyleSheetCollection::swapSheetsForSheetList(HeapVector<Member<StyleSheet>>
m_styleSheetsForStyleSheetList.swap(sheets);
}
-void StyleSheetCollection::appendActiveStyleSheet(CSSStyleSheet* sheet)
+void StyleSheetCollection::appendActiveStyleSheet(const ActiveStyleSheet& activeSheet)
{
- m_activeAuthorStyleSheets.append(sheet);
+ m_activeAuthorStyleSheets.append(activeSheet);
}
void StyleSheetCollection::appendSheetForList(StyleSheet* sheet)

Powered by Google App Engine
This is Rietveld 408576698