| 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 b6367dd4cd8b7e74f153726f5b4a3e7d4b179170..ad5bb51998784a0467f81e88f8050248ff5c2162 100644
|
| --- a/content/common/gpu/image_transport_surface.cc
|
| +++ b/content/common/gpu/image_transport_surface.cc
|
| @@ -226,7 +226,8 @@ bool PassThroughImageTransportSurface::PostSubBuffer(
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| -void PassThroughImageTransportSurface::SwapBuffersCallBack() {
|
| +void PassThroughImageTransportSurface::SwapBuffersCallBack(
|
| + gfx::SwapResult result) {
|
| base::TimeTicks swap_ack_time = base::TimeTicks::Now();
|
| for (auto& latency : latency_info_) {
|
| latency.AddLatencyNumberWithTimestamp(
|
| @@ -234,7 +235,7 @@ void PassThroughImageTransportSurface::SwapBuffersCallBack() {
|
| swap_ack_time, 1);
|
| }
|
|
|
| - helper_->stub()->SendSwapBuffersCompleted(latency_info_);
|
| + helper_->stub()->SendSwapBuffersCompleted(latency_info_, result);
|
| latency_info_.clear();
|
| }
|
|
|
|
|