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

Unified Diff: content/browser/devtools/devtools_frame_trace_recorder.cc

Issue 1424703003: Kills TraceTicks, which was functionally the same as TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed win compile error. Created 5 years, 1 month 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 | « components/tracing/tracing_messages.h ('k') | content/browser/tracing/etw_system_event_consumer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_frame_trace_recorder.cc
diff --git a/content/browser/devtools/devtools_frame_trace_recorder.cc b/content/browser/devtools/devtools_frame_trace_recorder.cc
index b024a08024798c37117f4717cef151102cb8304e..7405391ebd5148af818e36ca3ea04b05889a70e2 100644
--- a/content/browser/devtools/devtools_frame_trace_recorder.cc
+++ b/content/browser/devtools/devtools_frame_trace_recorder.cc
@@ -64,7 +64,7 @@ class TraceableDevToolsScreenshot
SkBitmap frame_;
};
-void FrameCaptured(base::TraceTicks timestamp, const SkBitmap& bitmap,
+void FrameCaptured(base::TimeTicks timestamp, const SkBitmap& bitmap,
ReadbackResponse response) {
if (response != READBACK_SUCCESS)
return;
@@ -98,7 +98,7 @@ void CaptureFrame(RenderFrameHostImpl* host,
metadata.scrollable_viewport_size, scale)));
view->CopyFromCompositingSurface(
gfx::Rect(), snapshot_size,
- base::Bind(FrameCaptured, base::TraceTicks::Now()),
+ base::Bind(FrameCaptured, base::TimeTicks::Now()),
kN32_SkColorType);
}
« no previous file with comments | « components/tracing/tracing_messages.h ('k') | content/browser/tracing/etw_system_event_consumer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698