| Index: ui/gl/gl_surface_glx.cc
|
| diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
|
| index a5609cd8e23cf35e0b20a3506d0150e3c9bf53ee..dcafb21241bed5c73d1ed9a58dc6c192ae243675 100644
|
| --- a/ui/gl/gl_surface_glx.cc
|
| +++ b/ui/gl/gl_surface_glx.cc
|
| @@ -9,6 +9,7 @@ extern "C" {
|
| #include "ui/gl/gl_surface_glx.h"
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/debug/trace_event.h"
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop.h"
|
| @@ -135,6 +136,8 @@ bool NativeViewGLSurfaceGLX::IsOffscreen() {
|
|
|
| bool NativeViewGLSurfaceGLX::SwapBuffers() {
|
| glXSwapBuffers(g_display, window_);
|
| + // For latency_tests.cc:
|
| + UNSHIPPED_TRACE_EVENT_INSTANT0("test_gpu", "CompositorSwapBuffersComplete");
|
| return true;
|
| }
|
|
|
|
|