| Index: content/common/navigation_params.cc
|
| diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
|
| index 39162ffe2bd06e52a2694616b60de3cf43042307..7a7ebf854c1218f66ac947d9a6ce303c26194471 100644
|
| --- a/content/common/navigation_params.cc
|
| +++ b/content/common/navigation_params.cc
|
| @@ -62,7 +62,10 @@ CommonNavigationParams::CommonNavigationParams(
|
| lofi_state(lofi_state),
|
| navigation_start(navigation_start),
|
| method(method),
|
| - post_data(post_data) {}
|
| + post_data(post_data) {
|
| + // |method != "POST"| should imply absence of |post_data|.
|
| + DCHECK(method == "POST" || !post_data);
|
| +}
|
|
|
| CommonNavigationParams::CommonNavigationParams(
|
| const CommonNavigationParams& other) = default;
|
|
|