Chromium Code Reviews| Index: cc/surfaces/surface.h |
| diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h |
| index c42292e3b04655cf1f97498df3ab5acfcfd5f397..2fa95fa606ea916718b49206f395711378132290 100644 |
| --- a/cc/surfaces/surface.h |
| +++ b/cc/surfaces/surface.h |
| @@ -132,6 +132,11 @@ class CC_SURFACES_EXPORT Surface { |
| void UnrefFrameResources(const CompositorFrame& frame_data); |
| void ClearCopyRequests(); |
| + void TakeLatencyInfoFromPendingFrame( |
| + std::vector<ui::LatencyInfo>* latency_info); |
| + void TakeLatencyInfoFromFrame(CompositorFrame* frame, |
|
jbauman
2017/03/01 22:11:08
Make this static.
Saman Sami
2017/03/01 22:35:05
Done.
|
| + std::vector<ui::LatencyInfo>* latency_info); |
| + |
| SurfaceId surface_id_; |
| SurfaceId previous_frame_surface_id_; |
| base::WeakPtr<SurfaceFactory> factory_; |