| Index: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| index 76eab4db3eb10457c4ccf62d55d2619df58f40d2..de1820350a49ab06fdea78e686582ae2c0c5bf8b 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| @@ -603,8 +603,7 @@ void LinkStyle::clearSheet()
|
| {
|
| ASSERT(m_sheet);
|
| ASSERT(m_sheet->ownerNode() == m_owner);
|
| - m_sheet->clearOwnerNode();
|
| - m_sheet = nullptr;
|
| + m_sheet.release()->clearOwnerNode();
|
| }
|
|
|
| bool LinkStyle::styleSheetIsLoading() const
|
|
|