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

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

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.h
diff --git a/third_party/WebKit/Source/core/dom/StyleSheetCollection.h b/third_party/WebKit/Source/core/dom/StyleSheetCollection.h
index 47d467d2bd424c6be280c6a0a83452bc001636b4..9953b373932c0d784349b4ff3da905c7c25b2c3d 100644
--- a/third_party/WebKit/Source/core/dom/StyleSheetCollection.h
+++ b/third_party/WebKit/Source/core/dom/StyleSheetCollection.h
@@ -29,6 +29,7 @@
#define StyleSheetCollection_h
#include "core/CoreExport.h"
+#include "core/css/ActiveStyleSheets.h"
#include "platform/heap/Handle.h"
#include "wtf/Allocator.h"
#include "wtf/Vector.h"
@@ -46,19 +47,19 @@ public:
StyleSheetCollection();
- const HeapVector<Member<CSSStyleSheet>>& activeAuthorStyleSheets() const { return m_activeAuthorStyleSheets; }
+ const ActiveStyleSheetVector& activeAuthorStyleSheets() const { return m_activeAuthorStyleSheets; }
const HeapVector<Member<StyleSheet>>& styleSheetsForStyleSheetList() const { return m_styleSheetsForStyleSheetList; }
void swap(StyleSheetCollection&);
void swapSheetsForSheetList(HeapVector<Member<StyleSheet>>&);
- void appendActiveStyleSheet(CSSStyleSheet*);
+ void appendActiveStyleSheet(const ActiveStyleSheet&);
void appendSheetForList(StyleSheet*);
DECLARE_VIRTUAL_TRACE();
protected:
HeapVector<Member<StyleSheet>> m_styleSheetsForStyleSheetList;
- HeapVector<Member<CSSStyleSheet>> m_activeAuthorStyleSheets;
+ ActiveStyleSheetVector m_activeAuthorStyleSheets;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698