Chromium Code Reviews| Index: Source/core/loader/HistoryController.cpp |
| diff --git a/Source/core/loader/HistoryController.cpp b/Source/core/loader/HistoryController.cpp |
| index f6d2cec7ca5ac9b565de504e2e11d680d146dfb5..e687f6545e9d2b781584921026f3398265a4827a 100644 |
| --- a/Source/core/loader/HistoryController.cpp |
| +++ b/Source/core/loader/HistoryController.cpp |
| @@ -123,7 +123,7 @@ void HistoryController::saveDocumentAndScrollState() |
| Document* document = m_frame->document(); |
| ASSERT(document); |
| - if (m_currentItem->isCurrentDocument(document) && document->confusingAndOftenMisusedAttached()) { |
| + if (m_currentItem->isCurrentDocument(document) && document->isActive()) { |
|
abarth-chromium
2013/09/30 05:06:29
I updated this CL to use the new hotness.
|
| LOG(Loading, "WebCoreLoading %s: saving form state to %p", m_frame->tree()->uniqueName().string().utf8().data(), m_currentItem.get()); |
| m_currentItem->setDocumentState(document->formElementsState()); |
| } |