Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(866)

Unified Diff: Source/core/loader/ResourceLoadNotifier.cpp

Issue 13912021: [Resource Timing] Expose redirect timing information (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/loader/ResourceLoadNotifier.cpp
diff --git a/Source/core/loader/ResourceLoadNotifier.cpp b/Source/core/loader/ResourceLoadNotifier.cpp
index 222ad60df9bae242a9f133bdb6ba91538719385a..5346d0aba9666b7f5f98ce09a3e882186de430f0 100644
--- a/Source/core/loader/ResourceLoadNotifier.cpp
+++ b/Source/core/loader/ResourceLoadNotifier.cpp
@@ -62,10 +62,7 @@ void ResourceLoadNotifier::dispatchWillSendRequest(DocumentLoader* loader, unsig
InspectorInstrumentation::willSendRequest(m_frame, identifier, loader, request, redirectResponse);
- // Report WebTiming for all frames.
- if (loader && !request.isNull() && request.url() == loader->requestURL())
- request.setReportLoadTiming(true);
-
+ // Report WebTiming for all requests.
request.setReportLoadTiming(true);
}

Powered by Google App Engine
This is Rietveld 408576698