Index: Source/core/dom/StyleElement.cpp |
diff --git a/Source/core/dom/StyleElement.cpp b/Source/core/dom/StyleElement.cpp |
index c16c57fb3399988fe8c957af152d4fb0c8ed173b..1cc8e26d7f7aa21544eb4b7c8b9b2b6e233ac056 100644 |
--- a/Source/core/dom/StyleElement.cpp |
+++ b/Source/core/dom/StyleElement.cpp |
@@ -76,7 +76,7 @@ void StyleElement::removedFromDocument(Document& document, Element* element, Con |
ASSERT(element); |
document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope); |
- RefPtr<StyleSheet> removedSheet = m_sheet; |
+ RefPtrWillBeRawPtr<StyleSheet> removedSheet = m_sheet.get(); |
if (m_sheet) |
clearSheet(element); |