| Index: net/url_request/url_request_http_job.cc
|
| diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
|
| index 263f5020ffce5ad22d89b83466efac8e736ade00..bbfee654d48b8018a0b5e4a65e6a688db3d8cd93 100644
|
| --- a/net/url_request/url_request_http_job.cc
|
| +++ b/net/url_request/url_request_http_job.cc
|
| @@ -51,6 +51,7 @@
|
| #include "net/url_request/url_request_redirect_job.h"
|
| #include "net/url_request/url_request_throttler_manager.h"
|
| #include "net/websockets/websocket_handshake_stream_base.h"
|
| +#include "url/origin.h"
|
|
|
| static const char kAvailDictionaryHeader[] = "Avail-Dictionary";
|
|
|
| @@ -662,7 +663,7 @@ void URLRequestHttpJob::DoLoadCookies() {
|
| // first-party cookies: https://crbug.com/459154
|
| if (network_delegate() &&
|
| network_delegate()->AreExperimentalCookieFeaturesEnabled())
|
| - options.set_first_party_url(request_->first_party_for_cookies());
|
| + options.set_first_party(url::Origin(request_->first_party_for_cookies()));
|
| else
|
| options.set_include_first_party_only();
|
|
|
|
|