Chromium Code Reviews| Index: cc/surfaces/surface.h |
| diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h |
| index 8ed4399a6abe89702f4a5d430a47472b29620d3e..39ba1b7e1b5a7ba642f8dd28a4d87ccca0990e81 100644 |
| --- a/cc/surfaces/surface.h |
| +++ b/cc/surfaces/surface.h |
| @@ -29,6 +29,8 @@ class CC_SURFACES_EXPORT Surface { |
| // Returns the most recent frame that is eligible to be rendered. |
| CompositorFrame* GetEligibleFrame(); |
| + scoped_ptr<CompositorFrame> TakeFrame(); |
|
jamesr
2014/05/28 22:01:28
this isn't right - a surface retains ownership of
|
| + |
| private: |
| SurfaceManager* manager_; |
| SurfaceClient* client_; |