| Index: Source/core/loader/HistoryController.cpp
|
| diff --git a/Source/core/loader/HistoryController.cpp b/Source/core/loader/HistoryController.cpp
|
| index be314f561283a5b91945add46ea19b200fa6b5ba..abd352ac2bbac677039d62cc1263709610d29a75 100644
|
| --- a/Source/core/loader/HistoryController.cpp
|
| +++ b/Source/core/loader/HistoryController.cpp
|
| @@ -135,7 +135,7 @@ void HistoryController::saveDocumentState()
|
| Document* document = m_frame->document();
|
| ASSERT(document);
|
|
|
| - if (m_currentItem->isCurrentDocument(document) && document->attached()) {
|
| + if (m_currentItem->isCurrentDocument(document) && document->confusingAndOftenMisusedAttached()) {
|
| LOG(Loading, "WebCoreLoading %s: saving form state to %p", m_frame->tree()->uniqueName().string().utf8().data(), m_currentItem.get());
|
| m_currentItem->setDocumentState(document->formElementsState());
|
| }
|
|
|