| Index: Source/core/loader/FrameLoader.cpp
|
| diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
|
| index 1f57f358deaab81b75d5d57aaddb46537979f6e1..0e2e6b19418a9bf7e74629c9b83e4dd09df2a644 100644
|
| --- a/Source/core/loader/FrameLoader.cpp
|
| +++ b/Source/core/loader/FrameLoader.cpp
|
| @@ -270,7 +270,7 @@ void FrameLoader::clear(ClearOptions options)
|
| m_frame->editor().clear();
|
| m_frame->document()->cancelParsing();
|
| m_frame->document()->stopActiveDOMObjects();
|
| - if (m_frame->document()->attached()) {
|
| + if (m_frame->document()->confusingAndOftenMisusedAttached()) {
|
| m_frame->document()->prepareForDestruction();
|
| m_frame->document()->removeFocusedElementOfSubtree(m_frame->document());
|
| }
|
|
|