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 51dc68b28d05797ce578194e621b42a3012bee48..7258c1342154ace7485080adbae524232610a895 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
@@ -457,18 +457,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, |