Index: third_party/WebKit/Source/platform/TraceEvent.h |
diff --git a/third_party/WebKit/Source/platform/TraceEvent.h b/third_party/WebKit/Source/platform/TraceEvent.h |
index e6db51e3e05ff05e437c0aca273ef11aa3f52684..ba728237309bdb4e41e059f04f0b6e31c8990a56 100644 |
--- a/third_party/WebKit/Source/platform/TraceEvent.h |
+++ b/third_party/WebKit/Source/platform/TraceEvent.h |
@@ -27,11 +27,14 @@ namespace TraceEvent { |
using base::trace_event::TraceScopedTrackableObject; |
-inline int64_t toTraceTimestamp(double seconds) |
+inline base::TimeTicks toTraceTimestamp(double seconds) |
{ |
- return (base::TimeTicks() + base::TimeDelta::FromSecondsD(seconds)).ToInternalValue(); |
+ return base::TimeTicks() + base::TimeDelta::FromSecondsD(seconds); |
} |
+// This is to avoid error of passing a chromium time internal value. |
+void toTraceTimestamp(int64_t); |
+ |
} // namespace TraceEvent |
} // namespace blink |