Index: content/common/gpu/client/context_provider_command_buffer.cc |
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc |
index cb827258a5fdf8c271bc0d3eb73874d9a5bc7fe4..28b772002a2e5ff048d4531e3fb9ffc0e8226cd4 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.cc |
+++ b/content/common/gpu/client/context_provider_command_buffer.cc |
@@ -211,12 +211,6 @@ void ContextProviderCommandBuffer::OnMemoryAllocationChanged( |
void ContextProviderCommandBuffer::InitializeCapabilities() { |
Capabilities caps; |
caps.gpu = context3d_->GetImplementation()->capabilities(); |
- |
- size_t mapped_memory_limit = context3d_->GetMappedMemoryLimit(); |
- caps.max_transfer_buffer_usage_bytes = |
- mapped_memory_limit == WebGraphicsContext3DCommandBufferImpl::kNoLimit |
- ? std::numeric_limits<size_t>::max() : mapped_memory_limit; |
- |
capabilities_ = caps; |
} |