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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.h

Issue 2647643004: Report nav timing 2 instance as soon as it's requested. (Closed)
Patch Set: make a copy of navigationTimingInfo for ResourceFetcher 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/loader/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index 8023984bd3ca67de0c614a610c35afde849951c4..426b8cac2d516a8d59479e6bd42886376ed780e2 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -83,7 +83,7 @@ class CORE_EXPORT DocumentLoader
LocalFrame* frame() const { return m_frame; }
- ResourceTimingInfo* getNavigationTimingInfo() const;
+ std::unique_ptr<ResourceTimingInfo> getNavigationTimingInfo() const;
virtual void detachFromFrame();

Powered by Google App Engine
This is Rietveld 408576698