| Index: cc/surfaces/surface.h
|
| diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
|
| index 3d48196fc25076ea4448864709ebf3e68e5dcff8..78b54ccd79941ca48e0e72ee2a7d357d13c9a253 100644
|
| --- a/cc/surfaces/surface.h
|
| +++ b/cc/surfaces/surface.h
|
| @@ -13,6 +13,10 @@
|
| #include "cc/surfaces/surfaces_export.h"
|
| #include "ui/gfx/size.h"
|
|
|
| +namespace ui {
|
| +struct LatencyInfo;
|
| +}
|
| +
|
| namespace cc {
|
| class CompositorFrame;
|
| class CopyOutputRequest;
|
| @@ -37,6 +41,7 @@ class CC_SURFACES_EXPORT Surface {
|
| // Returns a number that increments by 1 every time a new frame is enqueued.
|
| int frame_index() const { return frame_index_; }
|
|
|
| + void TakeLatencyInfo(std::vector<ui::LatencyInfo>* latency_info);
|
| void RunDrawCallbacks();
|
|
|
| SurfaceFactory* factory() { return factory_; }
|
|
|