Index: cc/surfaces/display.cc |
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc |
index 3d10173c4ea8c0344c49719dc112164d6f4de47d..fe278fc08fa7e4a1fbfe3099196cbc2f918ef048 100644 |
--- a/cc/surfaces/display.cc |
+++ b/cc/surfaces/display.cc |
@@ -102,13 +102,10 @@ void Display::InitializeRenderer() { |
if (resource_provider_) |
return; |
- // Display does not use GpuMemoryBuffers, so persistent map is not relevant. |
- bool use_persistent_map_for_gpu_memory_buffers = false; |
scoped_ptr<ResourceProvider> resource_provider = ResourceProvider::Create( |
output_surface_.get(), bitmap_manager_, gpu_memory_buffer_manager_, |
nullptr, settings_.highp_threshold_min, settings_.use_rgba_4444_textures, |
settings_.texture_id_allocation_chunk_size, |
- use_persistent_map_for_gpu_memory_buffers, |
std::vector<unsigned>(static_cast<size_t>(gfx::BufferFormat::LAST) + 1, |
GL_TEXTURE_2D)); |
if (!resource_provider) |