Index: Source/core/html/parser/XSSAuditor.cpp |
diff --git a/Source/core/html/parser/XSSAuditor.cpp b/Source/core/html/parser/XSSAuditor.cpp |
index 8b859f33c05858aaff2e094fc4df741de4420749..37bfb2a16e1e5860271bf3157478a8f7588bcbb4 100644 |
--- a/Source/core/html/parser/XSSAuditor.cpp |
+++ b/Source/core/html/parser/XSSAuditor.cpp |
@@ -44,7 +44,7 @@ |
#include "core/loader/DocumentLoader.h" |
#include "core/loader/MixedContentChecker.h" |
#include "platform/JSONValues.h" |
-#include "platform/network/FormData.h" |
+#include "platform/network/EncodedFormData.h" |
#include "platform/text/DecodeEscapeSequences.h" |
#include "wtf/ASCIICType.h" |
#include "wtf/MainThread.h" |
@@ -360,7 +360,7 @@ void XSSAuditor::init(Document* document, XSSAuditorDelegate* auditorDelegate) |
if (auditorDelegate) |
auditorDelegate->setReportURL(xssProtectionReportURL.copy()); |
- FormData* httpBody = documentLoader->request().httpBody(); |
+ EncodedFormData* httpBody = documentLoader->request().httpBody(); |
if (httpBody && !httpBody->isEmpty()) |
m_httpBodyAsString = httpBody->flattenToString(); |
} |