| Index: content/common/navigation_params.cc
|
| diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
|
| index 394e8f364286bf955accf45f8275781deba78d53..33ce95e61b3285dbfa59200602e5134b9f1ac839 100644
|
| --- a/content/common/navigation_params.cc
|
| +++ b/content/common/navigation_params.cc
|
| @@ -43,8 +43,7 @@
|
| report_type(FrameMsg_UILoadMetricsReportType::NO_REPORT),
|
| previews_state(PREVIEWS_UNSPECIFIED),
|
| navigation_start(base::TimeTicks::Now()),
|
| - method("GET"),
|
| - should_check_main_world_csp(CSPDisposition::CHECK) {}
|
| + method("GET") {}
|
|
|
| CommonNavigationParams::CommonNavigationParams(
|
| const GURL& url,
|
| @@ -61,8 +60,7 @@
|
| const base::TimeTicks& navigation_start,
|
| std::string method,
|
| const scoped_refptr<ResourceRequestBodyImpl>& post_data,
|
| - base::Optional<SourceLocation> source_location,
|
| - CSPDisposition should_check_main_world_csp)
|
| + base::Optional<SourceLocation> source_location)
|
| : url(url),
|
| referrer(referrer),
|
| transition(transition),
|
| @@ -77,8 +75,7 @@
|
| navigation_start(navigation_start),
|
| method(method),
|
| post_data(post_data),
|
| - source_location(source_location),
|
| - should_check_main_world_csp(should_check_main_world_csp) {
|
| + source_location(source_location) {
|
| // |method != "POST"| should imply absence of |post_data|.
|
| if (method != "POST" && post_data) {
|
| NOTREACHED();
|
|
|