Index: content/browser/security_exploit_browsertest.cc |
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc |
index 43f8dc2e237c042309dd9f072760d0641e1032cf..d1450aeb5ac20f752e81ed28aece5b87e96b48fb 100644 |
--- a/content/browser/security_exploit_browsertest.cc |
+++ b/content/browser/security_exploit_browsertest.cc |
@@ -34,6 +34,7 @@ |
#include "content/public/common/browser_side_navigation_policy.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/file_chooser_params.h" |
+#include "content/public/common/resource_request_body.h" |
#include "content/public/test/browser_test_utils.h" |
#include "content/public/test/content_browser_test.h" |
#include "content/public/test/content_browser_test_utils.h" |
@@ -591,7 +592,7 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest, |
FrameHostMsg_OpenURL_Params params; |
params.url = target_url; |
params.uses_post = true; |
- params.resource_request_body = new ResourceRequestBodyImpl; |
+ params.resource_request_body = new ResourceRequestBody; |
params.resource_request_body->AppendFileRange( |
file_path, 0, file_content.size(), base::Time()); |
params.disposition = WindowOpenDisposition::CURRENT_TAB; |