| Index: Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
|
| index b2a8f5b0e34898436374704bf04303866c09515a..36e4aa3846443feb93de1991132bf87f137a0006 100644
|
| --- a/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/Source/core/html/HTMLLinkElement.cpp
|
| @@ -230,7 +230,7 @@ void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint)
|
| }
|
| document().styleEngine()->removeStyleSheetCandidateNode(this);
|
|
|
| - RefPtr<StyleSheet> removedSheet = sheet();
|
| + RefPtrWillBeRawPtr<StyleSheet> removedSheet = sheet();
|
|
|
| if (m_link)
|
| m_link->ownerRemoved();
|
| @@ -616,7 +616,7 @@ void LinkStyle::process()
|
| }
|
| } else if (m_sheet) {
|
| // we no longer contain a stylesheet, e.g. perhaps rel or type was changed
|
| - RefPtr<StyleSheet> removedSheet = m_sheet;
|
| + RefPtrWillBeRawPtr<StyleSheet> removedSheet = m_sheet.get();
|
| clearSheet();
|
| document().removedStyleSheet(removedSheet.get());
|
| }
|
|
|