summaryrefslogtreecommitdiffstats
path: root/ui/surface/accelerated_surface_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/surface/accelerated_surface_win.cc')
-rw-r--r--ui/surface/accelerated_surface_win.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/surface/accelerated_surface_win.cc b/ui/surface/accelerated_surface_win.cc
index 01f582f..733f230 100644
--- a/ui/surface/accelerated_surface_win.cc
+++ b/ui/surface/accelerated_surface_win.cc
@@ -841,10 +841,6 @@ void AcceleratedPresenter::DoPresentAndAcknowledge(
hr = swap_chain_->Present(&rect, &rect, window_, NULL, 0);
- // For latency_tests.cc:
- UNSHIPPED_TRACE_EVENT_INSTANT0("test_gpu", "CompositorSwapBuffersComplete",
- TRACE_EVENT_SCOPE_THREAD);
-
if (FAILED(hr)) {
if (present_thread_->IsDeviceLost())
present_thread_->ResetDevice();
@@ -1023,10 +1019,6 @@ void AcceleratedPresenter::PresentWithGDI(HDC dc) {
}
system_surface->UnlockRect();
-
- // For latency_tests.cc:
- UNSHIPPED_TRACE_EVENT_INSTANT0("test_gpu", "CompositorSwapBuffersComplete",
- TRACE_EVENT_SCOPE_THREAD);
}
gfx::Size AcceleratedPresenter::GetWindowSize() {