Index: cc/output/output_surface.cc |
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc |
index efa6d13b8d720dda4dd77f1f99c1091bb063c5ff..93b6cdd55d35807c4dd38f64b573a87aca0026d2 100644 |
--- a/cc/output/output_surface.cc |
+++ b/cc/output/output_surface.cc |
@@ -210,8 +210,6 @@ bool OutputSurface::BindToClient(OutputSurfaceClient* client) { |
if (success) { |
context_provider_->SetLostContextCallback(base::Bind( |
&OutputSurface::DidLoseOutputSurface, base::Unretained(this))); |
- context_provider_->SetMemoryPolicyChangedCallback( |
- base::Bind(&OutputSurface::SetMemoryPolicy, base::Unretained(this))); |
} |
} |
@@ -355,8 +353,6 @@ void OutputSurface::DetachFromClientInternal() { |
if (context_provider_.get()) { |
context_provider_->SetLostContextCallback( |
ContextProvider::LostContextCallback()); |
- context_provider_->SetMemoryPolicyChangedCallback( |
- ContextProvider::MemoryPolicyChangedCallback()); |
} |
context_provider_ = nullptr; |
client_ = nullptr; |