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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceBase.cpp

Issue 2686973002: Update NT2 name to be the requested URL instead of 'document' There's a strong request to merge thi… (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/Source/core/timing/PerformanceBase.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
index ba4eb8ffdf5b8ff275b06936b7f6d46435c7dfc3..6dd669edc76742ecd1e2c88fc326e75be93a1b87 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
@@ -387,7 +387,8 @@ void PerformanceBase::addNavigationTiming(LocalFrame* frame) {
getNavigationType(documentLoader->getNavigationType(), frame->document());
m_navigationTiming = new PerformanceNavigationTiming(
- timeOrigin(), documentLoadTiming.unloadEventStart(),
+ timeOrigin(), navigationTimingInfo->initialURL().getString(),
+ documentLoadTiming.unloadEventStart(),
documentLoadTiming.unloadEventEnd(), documentLoadTiming.loadEventStart(),
documentLoadTiming.loadEventEnd(), documentLoadTiming.redirectCount(),
documentTiming ? documentTiming->domInteractive() : 0,

Powered by Google App Engine
This is Rietveld 408576698