Index: content/public/test/render_view_test.cc |
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc |
index 11ec59859a26f4b75a2c4e1b73f7be6aa3d03473..be3faf7ac191cd4833dfd3432977271a9ba8042f 100644 |
--- a/content/public/test/render_view_test.cc |
+++ b/content/public/test/render_view_test.cc |
@@ -518,7 +518,8 @@ void RenderViewTest::Reload(const GURL& url) { |
true, false, base::TimeTicks(), |
FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL(), |
PREVIEWS_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr, |
- base::Optional<SourceLocation>()); |
+ base::Optional<SourceLocation>(), |
+ CSPDisposition::CHECK /* should_check_main_world_csp */); |
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_); |
TestRenderFrame* frame = |
static_cast<TestRenderFrame*>(impl->GetMainRenderFrame()); |
@@ -656,7 +657,8 @@ void RenderViewTest::GoToOffset(int offset, |
FrameMsg_Navigate_Type::HISTORY_DIFFERENT_DOCUMENT, true, false, |
base::TimeTicks(), FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), |
GURL(), PREVIEWS_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr, |
- base::Optional<SourceLocation>()); |
+ base::Optional<SourceLocation>(), |
+ CSPDisposition::CHECK /* should_check_main_world_csp */); |
RequestNavigationParams request_params; |
request_params.page_state = state; |
request_params.nav_entry_id = pending_offset + 1; |