| Index: cc/test/test_context_provider.cc
|
| diff --git a/cc/test/test_context_provider.cc b/cc/test/test_context_provider.cc
|
| index ca7714d30cf9f4ca1b0eaaaeb7c117f7ddd180de..e584a4a8ad732c85caf6008bf058894174fba379 100644
|
| --- a/cc/test/test_context_provider.cc
|
| +++ b/cc/test/test_context_provider.cc
|
| @@ -172,13 +172,6 @@ TestWebGraphicsContext3D* TestContextProvider::UnboundTestContext3d() {
|
| return context3d_.get();
|
| }
|
|
|
| -void TestContextProvider::SetMemoryAllocation(
|
| - const ManagedMemoryPolicy& policy) {
|
| - if (memory_policy_changed_callback_.is_null())
|
| - return;
|
| - memory_policy_changed_callback_.Run(policy);
|
| -}
|
| -
|
| void TestContextProvider::SetLostContextCallback(
|
| const LostContextCallback& cb) {
|
| DCHECK(context_thread_checker_.CalledOnValidThread());
|
| @@ -186,13 +179,6 @@ void TestContextProvider::SetLostContextCallback(
|
| lost_context_callback_ = cb;
|
| }
|
|
|
| -void TestContextProvider::SetMemoryPolicyChangedCallback(
|
| - const MemoryPolicyChangedCallback& cb) {
|
| - DCHECK(context_thread_checker_.CalledOnValidThread());
|
| - DCHECK(memory_policy_changed_callback_.is_null() || cb.is_null());
|
| - memory_policy_changed_callback_ = cb;
|
| -}
|
| -
|
| void TestContextProvider::SetMaxTransferBufferUsageBytes(
|
| size_t max_transfer_buffer_usage_bytes) {
|
| context3d_->SetMaxTransferBufferUsageBytes(max_transfer_buffer_usage_bytes);
|
|
|