Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
index 2c7c2a1c7da4a7b93e34f0c5fe81c9b86e6f85bf..fd8f941e6776aef53fa64c62c6ec1a2006d4f3ee 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
@@ -456,18 +456,6 @@ void FrameFetchContext::DispatchDidReceiveResponse( |
// It is essential that inspector gets resource response BEFORE console. |
GetFrame()->Console().ReportResourceResponseReceived(document_loader, |
identifier, response); |
- |
- // MainResource responses were already added, skip them here. |
- if (RuntimeEnabledFeatures::ServerTimingEnabled() && |
- resource->GetType() != Resource::kMainResource && |
- GetFrame()->GetDocument() && GetFrame()->GetDocument()->domWindow()) { |
- LocalDOMWindow* localDOMWindow = GetFrame()->GetDocument()->domWindow(); |
- DOMWindowPerformance::performance(*localDOMWindow) |
- ->AddServerTiming(response, |
- localDOMWindow->HasLoadEventFired() |
- ? PerformanceBase::ShouldAddToBuffer::Never |
- : PerformanceBase::ShouldAddToBuffer::Always); |
- } |
} |
void FrameFetchContext::DispatchDidReceiveData(unsigned long identifier, |