| Index: chrome/browser/media/router/create_presentation_connection_request_unittest.cc
|
| diff --git a/chrome/browser/media/router/create_presentation_connection_request_unittest.cc b/chrome/browser/media/router/create_presentation_connection_request_unittest.cc
|
| index 6c373b9fb3b43c96dfee422472297bccaf2676fa..8e71ecb44e563d18f3fe85abf74ed53c6091efe3 100644
|
| --- a/chrome/browser/media/router/create_presentation_connection_request_unittest.cc
|
| +++ b/chrome/browser/media/router/create_presentation_connection_request_unittest.cc
|
| @@ -68,14 +68,14 @@
|
| content::PresentationError error(content::PRESENTATION_ERROR_UNKNOWN,
|
| "Unknown error.");
|
| CreatePresentationConnectionRequest request(
|
| - render_frame_host_id_, presentation_urls_, url::Origin(GURL(kFrameUrl)),
|
| + render_frame_host_id_, presentation_urls_, GURL(kFrameUrl),
|
| base::Bind(&CreatePresentationConnectionRequestTest::FailOnSuccess,
|
| base::Unretained(this)),
|
| base::Bind(&CreatePresentationConnectionRequestTest::OnError,
|
| base::Unretained(this), error));
|
|
|
| - PresentationRequest presentation_request(
|
| - render_frame_host_id_, presentation_urls_, url::Origin(GURL(kFrameUrl)));
|
| + PresentationRequest presentation_request(render_frame_host_id_,
|
| + presentation_urls_, GURL(kFrameUrl));
|
| EXPECT_TRUE(request.presentation_request().Equals(presentation_request));
|
| // Since we didn't explicitly call Invoke*, the error callback will be
|
| // invoked when |request| is destroyed.
|
| @@ -85,7 +85,7 @@
|
| content::PresentationSessionInfo session_info(presentation_url_,
|
| kPresentationId);
|
| CreatePresentationConnectionRequest request(
|
| - render_frame_host_id_, {presentation_url_}, url::Origin(GURL(kFrameUrl)),
|
| + render_frame_host_id_, {presentation_url_}, GURL(kFrameUrl),
|
| base::Bind(&CreatePresentationConnectionRequestTest::OnSuccess,
|
| base::Unretained(this), session_info),
|
| base::Bind(&CreatePresentationConnectionRequestTest::FailOnError,
|
| @@ -101,7 +101,7 @@
|
| content::PRESENTATION_ERROR_SESSION_REQUEST_CANCELLED,
|
| "This is an error message");
|
| CreatePresentationConnectionRequest request(
|
| - render_frame_host_id_, presentation_urls_, url::Origin(GURL(kFrameUrl)),
|
| + render_frame_host_id_, presentation_urls_, GURL(kFrameUrl),
|
| base::Bind(&CreatePresentationConnectionRequestTest::FailOnSuccess,
|
| base::Unretained(this)),
|
| base::Bind(&CreatePresentationConnectionRequestTest::OnError,
|
|
|