| Index: content/common/gpu/image_transport_surface.cc
|
| diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc
|
| index d1cb0a8846983c8ee86c7119b1a359132061bb0d..fba846350ee62c76e98ac08dd7772340786b5a79 100644
|
| --- a/content/common/gpu/image_transport_surface.cc
|
| +++ b/content/common/gpu/image_transport_surface.cc
|
| @@ -251,7 +251,7 @@ bool PassThroughImageTransportSurface::SwapBuffers() {
|
| // crbug.com/223558.
|
| SendVSyncUpdateIfAvailable();
|
| bool result = gfx::GLSurfaceAdapter::SwapBuffers();
|
| - latency_info_.swap_timestamp = base::TimeTicks::HighResNow();
|
| + latency_info_.Report(ui::INPUT_EVENT_LATENCY_FRAME_SWAP_COMPONENT);
|
|
|
| if (transport_) {
|
| DCHECK(!is_swap_buffers_pending_);
|
| @@ -274,7 +274,7 @@ bool PassThroughImageTransportSurface::PostSubBuffer(
|
| int x, int y, int width, int height) {
|
| SendVSyncUpdateIfAvailable();
|
| bool result = gfx::GLSurfaceAdapter::PostSubBuffer(x, y, width, height);
|
| - latency_info_.swap_timestamp = base::TimeTicks::HighResNow();
|
| + latency_info_.Report(ui::INPUT_EVENT_LATENCY_FRAME_SWAP_COMPONENT);
|
|
|
| if (transport_) {
|
| DCHECK(!is_swap_buffers_pending_);
|
|
|