| Index: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| index c17e69117ea17014ca9062fd36ce5a304cc3c926..887df16f5a2c6fe45f7c7842a97e634976d28c74 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| @@ -752,6 +752,16 @@ void InspectorNetworkAgent::didFinishLoading(unsigned long identifier,
|
| double monotonicFinishTime,
|
| int64_t encodedDataLength) {
|
| String requestId = IdentifiersFactory::requestId(identifier);
|
| + NetworkResourcesData::ResourceData const* resourceData =
|
| + m_resourcesData->data(requestId);
|
| + if (resourceData &&
|
| + (!resourceData->cachedResource() ||
|
| + resourceData->cachedResource()->getDataBufferingPolicy() ==
|
| + DoNotBufferData ||
|
| + isErrorStatusCode(resourceData->httpStatusCode()))) {
|
| + m_resourcesData->maybeAddResourceData(requestId, "", 0);
|
| + }
|
| +
|
| m_resourcesData->maybeDecodeDataToContent(requestId);
|
| if (!monotonicFinishTime)
|
| monotonicFinishTime = monotonicallyIncreasingTime();
|
|
|