| Index: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
|
| diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
|
| index 2dda37aad69b8a5edba21466de29ddb3327ae1a2..7a5173ec1b722ca2137f6a9fa2fb72c8d272dcb1 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
|
| +++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
|
| @@ -325,6 +325,9 @@ void WebURLResponse::setSecurityStyle(SecurityStyle securityStyle)
|
|
|
| void WebURLResponse::setSecurityDetails(const WebSecurityDetails& webSecurityDetails)
|
| {
|
| + blink::ResourceResponse::SignedCertificateTimestampList sctList;
|
| + for (const auto& iter : webSecurityDetails.sctList)
|
| + sctList.append(static_cast<blink::ResourceResponse::SignedCertificateTimestamp>(iter));
|
| m_private->m_resourceResponse->setSecurityDetails(
|
| webSecurityDetails.protocol,
|
| webSecurityDetails.keyExchange,
|
| @@ -333,7 +336,8 @@ void WebURLResponse::setSecurityDetails(const WebSecurityDetails& webSecurityDet
|
| webSecurityDetails.certId,
|
| webSecurityDetails.numUnknownScts,
|
| webSecurityDetails.numInvalidScts,
|
| - webSecurityDetails.numValidScts);
|
| + webSecurityDetails.numValidScts,
|
| + sctList);
|
| }
|
|
|
| ResourceResponse& WebURLResponse::toMutableResourceResponse()
|
|
|