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

Unified Diff: Source/web/WebHistoryItem.cpp

Issue 239993011: Lazily generate HistoryItem's serialized form state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged to trunk 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
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebHistoryItem.cpp
diff --git a/Source/web/WebHistoryItem.cpp b/Source/web/WebHistoryItem.cpp
index ca1f6776e660937e34f6e596ffc004f0ceb94ca2..dab27ef21fd5cb8237391142259ddc00315b14d5 100644
--- a/Source/web/WebHistoryItem.cpp
+++ b/Source/web/WebHistoryItem.cpp
@@ -33,7 +33,6 @@
#include "WebSerializedScriptValue.h"
#include "bindings/v8/SerializedScriptValue.h"
-#include "core/html/forms/FormController.h"
#include "core/loader/HistoryItem.h"
#include "platform/network/FormData.h"
#include "platform/weborigin/KURL.h"
@@ -59,7 +58,7 @@ void addReferencedFilePaths(HistoryItem* item, HashSet<String>& results)
}
}
- const Vector<String>& filePaths = FormController::getReferencedFilePaths(item->documentState());
+ const Vector<String>& filePaths = item->getReferencedFilePaths();
for (size_t i = 0; i < filePaths.size(); ++i)
results.add(filePaths[i]);
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698