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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 2724943003: Add a trace event in FrameLoader::updateForSameDocumentNavigation. (Closed)
Patch Set: sync Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/Location.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index 2669c912e5def6dc81ef34fa870a8627523764b5..0b2a00addeebb651512841f4d76ac2077b5857f0 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -799,6 +799,8 @@ void FrameLoader::updateForSameDocumentNavigation(
HistoryScrollRestorationType scrollRestorationType,
FrameLoadType type,
Document* initiatingDocument) {
+ TRACE_EVENT1("blink", "FrameLoader::updateForSameDocumentNavigation", "url",
+ newURL.getString().ascii().data());
// Update the data source's request with the new URL to fake the URL change
m_frame->document()->setURL(newURL);
documentLoader()->setReplacesCurrentHistoryItem(type !=
« no previous file with comments | « third_party/WebKit/Source/core/frame/Location.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698