diff options
Diffstat (limited to 'cc/surfaces/surface.cc')
-rw-r--r-- | cc/surfaces/surface.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc index b3565a5..0e08ec4 100644 --- a/cc/surfaces/surface.cc +++ b/cc/surfaces/surface.cc @@ -5,6 +5,7 @@ #include "cc/surfaces/surface.h" #include "cc/output/compositor_frame.h" +#include "cc/output/copy_output_request.h" #include "cc/surfaces/surface_factory.h" namespace cc { @@ -50,6 +51,11 @@ void Surface::QueueFrame(scoped_ptr<CompositorFrame> frame, draw_callback_ = callback; } +void Surface::RequestCopyOfOutput(scoped_ptr<CopyOutputRequest> copy_request) { + // TODO(jbauman): Make this work. + copy_request->SendEmptyResult(); +} + const CompositorFrame* Surface::GetEligibleFrame() { return current_frame_.get(); } |