| Index: content/test/test_render_frame_host.cc
|
| diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc
|
| index 687bae50068121184f50e514e7476ccf29ebef93..9a36b7cdacc5a5086e7c44cb88aa9d94704e5e55 100644
|
| --- a/content/test/test_render_frame_host.cc
|
| +++ b/content/test/test_render_frame_host.cc
|
| @@ -286,6 +286,12 @@ void TestRenderFrameHost::SendNavigateWithParameters(
|
| params.history_list_was_cleared = simulate_history_list_was_cleared_;
|
| params.original_request_url = url_copy;
|
|
|
| + // In most cases, the origin will match the URL's origin. Tests that need to
|
| + // check corner cases (like about:blank) should specify the origin param
|
| + // manually.
|
| + url::Origin origin(url_copy);
|
| + params.origin = origin;
|
| +
|
| url::Replacements<char> replacements;
|
| replacements.ClearRef();
|
| params.was_within_same_page =
|
|
|