| Index: third_party/WebKit/Source/platform/network/ResourceTimingInfo.cpp
|
| diff --git a/third_party/WebKit/Source/platform/network/ResourceTimingInfo.cpp b/third_party/WebKit/Source/platform/network/ResourceTimingInfo.cpp
|
| index 99fb5f8e2e58253ebc1ad73f37a71c494c32ed23..a6068b41dcc718245130f5f02cb7f2dcf528815c 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceTimingInfo.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceTimingInfo.cpp
|
| @@ -39,7 +39,7 @@ std::unique_ptr<CrossThreadResourceTimingInfoData> ResourceTimingInfo::copyData(
|
| return data;
|
| }
|
|
|
| -void ResourceTimingInfo::addRedirect(const ResourceResponse& redirectResponse, long long encodedDataLength, bool crossOrigin)
|
| +void ResourceTimingInfo::addRedirect(const ResourceResponse& redirectResponse, bool crossOrigin)
|
| {
|
| m_redirectChain.append(redirectResponse);
|
| if (m_hasCrossOriginRedirect)
|
| @@ -48,8 +48,8 @@ void ResourceTimingInfo::addRedirect(const ResourceResponse& redirectResponse, l
|
| m_hasCrossOriginRedirect = true;
|
| m_transferSize = 0;
|
| } else {
|
| - DCHECK_GE(encodedDataLength, 0);
|
| - m_transferSize += encodedDataLength;
|
| + DCHECK_GE(redirectResponse.encodedDataLength(), 0);
|
| + m_transferSize += redirectResponse.encodedDataLength();
|
| }
|
| }
|
|
|
|
|