| 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 21581afb3c022538f0446cc82c9afa4aff5d5783..45c1c83b5d388c1a95b6882298ada7fdc120ef41 100644
|
| --- a/content/common/gpu/image_transport_surface.cc
|
| +++ b/content/common/gpu/image_transport_surface.cc
|
| @@ -226,6 +226,10 @@ bool PassThroughImageTransportSurface::SwapBuffers() {
|
| // GetVsyncValues before SwapBuffers to work around Mali driver bug:
|
| // crbug.com/223558.
|
| SendVSyncUpdateIfAvailable();
|
| + for (size_t i = 0; i < latency_info_.size(); ++i) {
|
| + latency_info_[i].AddLatencyNumber(
|
| + ui::INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT, 0, 0);
|
| + }
|
| bool result = gfx::GLSurfaceAdapter::SwapBuffers();
|
| for (size_t i = 0; i < latency_info_.size(); i++) {
|
| latency_info_[i].AddLatencyNumber(
|
|
|