Index: ui/gl/gl_surface_glx.cc |
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc |
index 0a497917ae3574651db2e2ea4201d2853aadf8f4..87dffe9e5ba8f450c9ebcafc2fb43319096cdcf8 100644 |
--- a/ui/gl/gl_surface_glx.cc |
+++ b/ui/gl/gl_surface_glx.cc |
@@ -197,7 +197,7 @@ class SGIVideoSyncProviderThreadShim |
if (glXWaitVideoSyncSGI(1, 0, &retrace_count) != 0) |
return; |
- TRACE_EVENT_INSTANT0("gpu", "vblank"); |
+ TRACE_EVENT_INSTANT0("gpu", "vblank", TRACE_EVENT_SCOPE_THREAD); |
now = base::TimeTicks::HighResNow(); |
glXMakeCurrent(display_, 0, 0); |
@@ -429,7 +429,8 @@ bool NativeViewGLSurfaceGLX::IsOffscreen() { |
bool NativeViewGLSurfaceGLX::SwapBuffers() { |
glXSwapBuffers(g_display, window_); |
// For latency_tests.cc: |
- UNSHIPPED_TRACE_EVENT_INSTANT0("test_gpu", "CompositorSwapBuffersComplete"); |
+ UNSHIPPED_TRACE_EVENT_INSTANT0("test_gpu", "CompositorSwapBuffersComplete", |
+ TRACE_EVENT_SCOPE_THREAD); |
return true; |
} |