| Index: cc/surfaces/surface.cc
|
| diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc
|
| index 00de0c24878222656afe6be81862306cb3d699d2..04dff352d9479875e733da65ca967b69c45cc39d 100644
|
| --- a/cc/surfaces/surface.cc
|
| +++ b/cc/surfaces/surface.cc
|
| @@ -10,7 +10,6 @@
|
| #include <algorithm>
|
|
|
| #include "base/stl_util.h"
|
| -#include "cc/output/compositor_frame.h"
|
| #include "cc/output/copy_output_request.h"
|
| #include "cc/surfaces/compositor_frame_sink_support.h"
|
| #include "cc/surfaces/local_surface_id_allocator.h"
|
| @@ -116,6 +115,11 @@ void Surface::QueueFrame(CompositorFrame frame,
|
| UnrefFrameResourcesAndRunDrawCallback(std::move(previous_pending_frame_data));
|
| }
|
|
|
| +void Surface::SetProducerState(ProducerState state) {
|
| + producer_state_ = state;
|
| + surface_manager_->SurfaceProducerStateChanged(this, state);
|
| +}
|
| +
|
| void Surface::RequestCopyOfOutput(
|
| std::unique_ptr<CopyOutputRequest> copy_request) {
|
| if (!active_frame_data_) {
|
|
|