| Index: cc/output/output_surface.cc
|
| diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
|
| index 36417cee2bce56c2704b287f9b0dbaa954cf83ab..a853c64e86c0caece0a30e7e912ef220b29be81a 100644
|
| --- a/cc/output/output_surface.cc
|
| +++ b/cc/output/output_surface.cc
|
| @@ -256,16 +256,6 @@ void OutputSurface::DidReceiveTextureInUseResponses(
|
| client_->DidReceiveTextureInUseResponses(responses);
|
| }
|
|
|
| -void OutputSurface::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
|
| - TRACE_EVENT1("cc", "OutputSurface::SetMemoryPolicy",
|
| - "bytes_limit_when_visible", policy.bytes_limit_when_visible);
|
| - // Just ignore the memory manager when it says to set the limit to zero
|
| - // bytes. This will happen when the memory manager thinks that the renderer
|
| - // is not visible (which the renderer knows better).
|
| - if (policy.bytes_limit_when_visible)
|
| - client_->SetMemoryPolicy(policy);
|
| -}
|
| -
|
| OverlayCandidateValidator* OutputSurface::GetOverlayCandidateValidator() const {
|
| return nullptr;
|
| }
|
|
|