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..d04035456f1890121bb6d8c06b4c9bdf063c4d59 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp |
@@ -34,6 +34,12 @@ StyleSheetCollection::StyleSheetCollection() |
{ |
} |
+void StyleSheetCollection::dispose() |
+{ |
+ m_styleSheetsForStyleSheetList.clear(); |
+ m_activeAuthorStyleSheets.clear(); |
+} |
+ |
void StyleSheetCollection::swap(StyleSheetCollection& other) |
{ |
m_styleSheetsForStyleSheetList.swap(other.m_styleSheetsForStyleSheetList); |