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

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 2359503002: Let TRACE_EVENT_XXX_WITH_TIMESTAMP accept TimeTicks instead of int64_t (Closed)
Patch Set: Rebase Created 4 years, 3 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: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index 1b0be294ba411fa9a620d6696b97eb99a030651a..dd25e2e1db73c6d4f273d5ccad9f63ad1f37c342 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -309,7 +309,7 @@ bool NavigatorImpl::NavigateToEntry(
base::TimeTicks navigation_start = base::TimeTicks::Now();
TRACE_EVENT_INSTANT_WITH_TIMESTAMP0(
"navigation,rail", "NavigationTiming navigationStart",
- TRACE_EVENT_SCOPE_GLOBAL, navigation_start.ToInternalValue());
+ TRACE_EVENT_SCOPE_GLOBAL, navigation_start);
// Determine if LoFi should be used for the navigation.
LoFiState lofi_state = LOFI_UNSPECIFIED;
@@ -344,7 +344,7 @@ bool NavigatorImpl::NavigateToEntry(
TRACE_EVENT_ASYNC_BEGIN_WITH_TIMESTAMP1(
"navigation", "Navigation timeToNetworkStack",
frame_tree_node->navigation_request()->navigation_handle(),
- navigation_start.ToInternalValue(),
+ navigation_start,
"FrameTreeNode id", frame_tree_node->frame_tree_node_id());
}
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/loader/navigation_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698