Index: cc/surfaces/surface.cc |
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc |
index 82a13222f261376c45378c859f3f3c2a879fa57a..c9921efbd6ae1736246d48135a71adc5917224ba 100644 |
--- a/cc/surfaces/surface.cc |
+++ b/cc/surfaces/surface.cc |
@@ -27,5 +27,8 @@ void Surface::QueueFrame(scoped_ptr<CompositorFrame> frame) { |
} |
CompositorFrame* Surface::GetEligibleFrame() { return current_frame_.get(); } |
+scoped_ptr<CompositorFrame> Surface::TakeFrame() { |
+ return current_frame_.Pass(); |
+} |
} // namespace cc |