| Index: ppapi/proxy/graphics_2d_resource.cc
|
| diff --git a/ppapi/proxy/graphics_2d_resource.cc b/ppapi/proxy/graphics_2d_resource.cc
|
| index 0cf746570042c15c50c751849e7931bdbe067115..ea8a9c52ce41727c0c61c2f55ebfc807106b5692 100644
|
| --- a/ppapi/proxy/graphics_2d_resource.cc
|
| +++ b/ppapi/proxy/graphics_2d_resource.cc
|
| @@ -122,9 +122,12 @@ int32_t Graphics2DResource::Flush(scoped_refptr<TrackedCallback> callback) {
|
| return PP_ERROR_INPROGRESS; // Can't have >1 flush pending.
|
| current_flush_callback_ = callback;
|
|
|
| + std::vector<ui::LatencyInfo> latency_info;
|
| + PpapiGlobals::Get()->TransferLatencyInfoTo(&latency_info, pp_instance());
|
| +
|
| Call<PpapiPluginMsg_Graphics2D_FlushAck>(
|
| RENDERER,
|
| - PpapiHostMsg_Graphics2D_Flush(),
|
| + PpapiHostMsg_Graphics2D_Flush(latency_info),
|
| base::Bind(&Graphics2DResource::OnPluginMsgFlushACK, this));
|
| return PP_OK_COMPLETIONPENDING;
|
| }
|
|
|