Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2600)

Unified Diff: Source/web/WebFrameImpl.cpp

Issue 239993011: Lazily generate HistoryItem's serialized form state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/WebFrameImpl.cpp
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
index 9c0e5406427d2746a7dd0f57ac2fa64be2409ad1..bf727e76803b4e9c12f6cba294806a3257e0710c 100644
--- a/Source/web/WebFrameImpl.cpp
+++ b/Source/web/WebFrameImpl.cpp
@@ -1005,11 +1005,6 @@ WebHistoryItem WebFrameImpl::currentHistoryItem() const
// We're shutting down.
if (!frame()->loader().documentLoader())
return WebHistoryItem();
-
- // Lazily update the document state if it was dirtied. Doing it here
- // avoids synchronously serializing forms as they're changing.
- frame()->loader().saveDocumentState();
Nate Chapin 2014/04/17 21:16:25 This whole function is already dead as a result of
-
return WebHistoryItem(frame()->page()->historyController().currentItemForExport());
}

Powered by Google App Engine
This is Rietveld 408576698