| Index: sky/engine/core/dom/Document.cpp
|
| diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
|
| index d4284fd180d6cb344f903f7bacab537650337b35..8fcd7ddb0e43a7cb9bf24d4ecd76fe194d6aa59a 100644
|
| --- a/sky/engine/core/dom/Document.cpp
|
| +++ b/sky/engine/core/dom/Document.cpp
|
| @@ -331,10 +331,6 @@ Document::~Document()
|
|
|
| m_timeline->detachFromDocument();
|
|
|
| - // We need to destroy CSSFontSelector before destroying m_fetcher.
|
| - if (m_styleEngine)
|
| - m_styleEngine->detachFromDocument();
|
| -
|
| if (m_elemSheet)
|
| m_elemSheet->clearOwnerNode();
|
|
|
| @@ -1283,7 +1279,6 @@ void Document::detach(const AttachContext& context)
|
| m_renderView = 0;
|
| ContainerNode::detach(context);
|
|
|
| - m_styleEngine->didDetach();
|
| m_styleEngine = nullptr;
|
|
|
| // This is required, as our LocalFrame might delete itself as soon as it detaches
|
|
|