Index: cc/surfaces/display.cc |
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc |
index 586bfad3dc7a0961205c694cd7ae4cda81bf8695..7e80854a0aaf8c9aef340a746340ce060b14017d 100644 |
--- a/cc/surfaces/display.cc |
+++ b/cc/surfaces/display.cc |
@@ -101,10 +101,13 @@ |
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); |
+ settings_.texture_id_allocation_chunk_size, |
+ use_persistent_map_for_gpu_memory_buffers); |
if (!resource_provider) |
return; |