| Index: Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
|
| index 4133430de7a4392f05fbb38ca441b7d5ccec9d20..199e4cf1b923d1e1b79c4d48ec1ed929c1a4382f 100644
|
| --- a/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/Source/core/html/HTMLLinkElement.cpp
|
| @@ -303,7 +303,7 @@ void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint)
|
| }
|
| document().styleEngine()->removeStyleSheetCandidateNode(this);
|
|
|
| - RefPtr<StyleSheet> removedSheet = sheet();
|
| + RefPtrWillBeRawPtr<StyleSheet> removedSheet = sheet();
|
|
|
| if (m_link)
|
| m_link->ownerRemoved();
|
| @@ -694,7 +694,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());
|
| }
|
|
|